Skip to content

Commit

Permalink
New API.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Jan 23, 2024
1 parent 579ccd8 commit e50f711
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions com.ibm.wala.cast.python.ml/data/tensorflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
<new def="softmax" class="Ltensorflow/functions/softmax" />
<putfield class="LRoot" field="softmax" fieldType="LRoot" ref="nn" value="softmax" />

<new def="sigmoid" class="Ltensorflow/functions/sigmoid" />
<putfield class="LRoot" field="sigmoid" fieldType="LRoot" ref="nn" value="sigmoid" />

<new def="placeholder" class="Ltensorflow/functions/placeholder" />
<putfield class="LRoot" field="placeholder" fieldType="LRoot" ref="x" value="placeholder" />

Expand Down Expand Up @@ -781,6 +784,13 @@
<return value="logits" />
</method>
</class>

<class name="sigmoid" allocatable="true">
<!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/nn/sigmoid -->
<method name="do" descriptor="()LRoot;" numArgs="3" paramNames="self x name">
<return value="x" />
</method>
</class>
</package>

<package name="tensorflow/estimator">
Expand Down

0 comments on commit e50f711

Please sign in to comment.