@@ -217,7 +217,11 @@ public void testTf2()
217217 testTf2 ("tf2_test_dataset10.py" , "add" , 2 , 2 , 2 , 3 );
218218 testTf2 ("tf2_test_tensor_list.py" , "add" , 2 , 2 , 2 , 3 );
219219 testTf2 ("tf2_test_tensor_list2.py" , "add" , 0 , 0 );
220- testTf2 ("tf2_test_tensor_list3.py" , "add" , 0 , 0 );
220+ testTf2 (
221+ "tf2_test_tensor_list3.py" ,
222+ "add" ,
223+ 0 ,
224+ 0 ); // NOTE: Change to 2, 2, 2, 3 once https://github.com/wala/ML/issues/136 is fixed.
221225 testTf2 ("tf2_test_tensor_list4.py" , "add" , 0 , 0 );
222226 testTf2 ("tf2_test_tensor_list5.py" , "add" , 0 , 0 );
223227 testTf2 ("tf2_test_model_call.py" , "SequentialModel.__call__" , 1 , 1 , 3 );
@@ -234,10 +238,10 @@ public void testTf2()
234238 "neural_network.py" ,
235239 "cross_entropy_loss" ,
236240 1 ,
237- 4 ,
241+ 8 ,
238242 3 ); // NOTE: Change to 2 tensor parameters once https://github.com/wala/ML/issues/127 is
239243 // fixed. Values 2 and 3 will correspond to the tensor parameters.
240- testTf2 ("neural_network.py" , "run_optimization" , 2 , 2 , 2 , 3 );
244+ testTf2 ("neural_network.py" , "run_optimization" , 2 , 3 , 2 , 3 );
241245 testTf2 (
242246 "neural_network.py" ,
243247 "accuracy" ,
@@ -259,10 +263,19 @@ public void testTf2()
259263 testTf2 ("tf2_test_add5.py" , "f" , 1 , 1 , 2 );
260264 testTf2 ("tf2_test_add6.py" , "f" , 1 , 1 , 2 );
261265 testTf2 ("multigpu_training.py" , "run_optimization" , 2 , 4 , 2 , 3 );
266+ testTf2 (
267+ "multigpu_training.py" ,
268+ "average_gradients" ,
269+ 0 ,
270+ 0 ); // NOTE: Change to 1, 1, 2 once https://github.com/wala/ML/issues/136 is fixed.
262271 testTf2 ("tf2_test_reduce_mean.py" , "f" , 1 , 1 , 2 );
263272 testTf2 ("tf2_test_reduce_mean.py" , "g" , 1 , 1 , 2 );
264273 testTf2 ("tf2_test_reduce_mean.py" , "h" , 1 , 1 , 2 );
265274 testTf2 ("tf2_test_gradient.py" , "f" , 1 , 1 , 2 );
275+ testTf2 ("tf2_test_gradient2.py" , "f" , 1 , 1 , 2 );
276+ testTf2 ("tf2_test_multiply.py" , "f" , 1 , 1 , 2 );
277+ testTf2 ("tf2_test_multiply2.py" , "f" , 1 , 1 , 2 );
278+ testTf2 ("tf2_test_sparse_softmax_cross_entropy_with_logits.py" , "f" , 1 , 1 , 2 );
266279 }
267280
268281 private void testTf2 (
0 commit comments