-
Notifications
You must be signed in to change notification settings - Fork 18
Closed as not planned
Description
ML/com.ibm.wala.cast.python.test/data/tf2.py
Lines 1 to 7 in 93c96d8
| import tensorflow as tf | |
| def add(a, b): | |
| return a + b | |
| c = add(tf.ones([1, 2]), tf.ones([2, 2])) # [[2., 2.], [2., 2.]] |
Please add a test case that imports tf.ones in a different way, i.e., from tensorflow import ones (or something like that) and then change the code so that it reads:
c = add(ones([1, 2]), ones([2, 2]))Metadata
Metadata
Assignees
Labels
No labels