We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7e9ba commit cc1c191Copy full SHA for cc1c191
com.ibm.wala.cast.python.test/data/tf2_test_add7.py
@@ -12,3 +12,6 @@ def add(a, b):
12
13
14
c = add(tf.ones([1, 2]), tf.ones([2, 2]))
15
+
16
+assert c.shape == (2, 2), f"Expected shape (2, 2), got {c.shape}"
17
+assert c.dtype == tf.float32, f"Expected dtype float32, got {c.dtype}"
0 commit comments