Skip to content

Commit 5bbe2a7

Browse files
committed
Fix tf.reshape to include self parameter.
The `self` parameter was missing in the method signature for `tf.reshape`, which represents the method name.
1 parent 5e39d70 commit 5bbe2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.ibm.wala.cast.python.ml/data/tensorflow.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
</class>
402402
<class name="reshape" allocatable="true">
403403
<!-- https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/reshape -->
404-
<method name="do" descriptor="()LRoot;" numArgs="2" paramNames="input name">
404+
<method name="do" descriptor="()LRoot;" numArgs="2" paramNames="self input name">
405405
<new def="z" class="Ltensorflow/functions/convert_to_tensor" />
406406
<call class="Ltensorflow/functions/convert_to_tensor" name="do" descriptor="()LRoot;" type="virtual" arg0="z" arg1="input" numArgs="2" def="x" />
407407
<return value="x" />

0 commit comments

Comments
 (0)