@@ -371,22 +371,6 @@ def f(a):
371
371
tf .convert_to_tensor (value = 1 ), tf .convert_to_tensor (value = 2 ))
372
372
373
373
374
- @parameterized .parameters (
375
- {"lhs" : ['i' , 'j' ], "rhs" : ['j' , 'k' ], "dims" : (((1 ,), (0 ,)), ((), ())),
376
- "result" : "ik" },
377
- {"lhs" : ['a' , 'i' , 'j' ], "rhs" : ['a' , 'j' , 'k' ], "dims" : \
378
- (((2 ,), (1 ,)), ((0 ,), (0 ,))), "result" : "aik" },
379
- {"lhs" : ['a' , 'b' , 'i' , 'j' ], "rhs" : ['a' , 'b' , 'j' , 'k' ], "dims" : \
380
- (((3 ,), (2 ,)), ((0 , 1 ,), (0 , 1 ,))), "result" : "abik" },
381
- )
382
- def test_compose_output_rep (self , lhs , rhs , dims , result ):
383
- contraction , batch = dims
384
- lhs_contraction , rhs_contraction = contraction
385
- lhs_batch , rhs_batch = batch
386
- output_rep = compose_output_rep (lhs , rhs , lhs_contraction , rhs_contraction ,
387
- lhs_batch , rhs_batch )
388
- self .assertEqual (output_rep , result )
389
-
390
374
@parameterized .parameters (
391
375
{"lhs_np" : np .ones ((5 , 3 )), "rhs_np" : np .ones ((3 , 2 )),
392
376
"dims" : (((1 ,), (0 ,)), ((), ()))},
0 commit comments