@@ -217,7 +217,11 @@ public void testTf2()
217
217
testTf2 ("tf2_test_dataset10.py" , "add" , 2 , 2 , 2 , 3 );
218
218
testTf2 ("tf2_test_tensor_list.py" , "add" , 2 , 2 , 2 , 3 );
219
219
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.
221
225
testTf2 ("tf2_test_tensor_list4.py" , "add" , 0 , 0 );
222
226
testTf2 ("tf2_test_tensor_list5.py" , "add" , 0 , 0 );
223
227
testTf2 ("tf2_test_model_call.py" , "SequentialModel.__call__" , 1 , 1 , 3 );
@@ -234,10 +238,10 @@ public void testTf2()
234
238
"neural_network.py" ,
235
239
"cross_entropy_loss" ,
236
240
1 ,
237
- 4 ,
241
+ 8 ,
238
242
3 ); // NOTE: Change to 2 tensor parameters once https://github.com/wala/ML/issues/127 is
239
243
// 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 );
241
245
testTf2 (
242
246
"neural_network.py" ,
243
247
"accuracy" ,
@@ -259,13 +263,19 @@ public void testTf2()
259
263
testTf2 ("tf2_test_add5.py" , "f" , 1 , 1 , 2 );
260
264
testTf2 ("tf2_test_add6.py" , "f" , 1 , 1 , 2 );
261
265
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.
262
271
testTf2 ("tf2_test_reduce_mean.py" , "f" , 1 , 1 , 2 );
263
272
testTf2 ("tf2_test_reduce_mean.py" , "g" , 1 , 1 , 2 );
264
273
testTf2 ("tf2_test_reduce_mean.py" , "h" , 1 , 1 , 2 );
265
274
testTf2 ("tf2_test_gradient.py" , "f" , 1 , 1 , 2 );
266
275
testTf2 ("tf2_test_gradient2.py" , "f" , 1 , 1 , 2 );
267
276
testTf2 ("tf2_test_multiply.py" , "f" , 1 , 1 , 2 );
268
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 );
269
279
}
270
280
271
281
private void testTf2 (
0 commit comments