map_defun_op_test.py | 73 def fn(x): function in function:MapDefunTest.testMapDefunMismatchedTypes 78 r = map_defun.map_defun(fn, [elems], [dtypes.int32], [()])[0] 86 def fn(x): function in function:MapDefunTest.testMapDefunReduceDim 91 r = map_defun.map_defun(fn, [elems], [dtypes.int32], [()])[0] 98 def fn(x): function in function:MapDefunTest.testMapDefunMultipleOutputs 103 r = map_defun.map_defun(fn, [elems], [dtypes.int32, dtypes.float64], [(2,), 111 def fn(x): function in function:MapDefunTest.testMapDefunShapeInference 116 result = map_defun.map_defun(fn, [elems], [dtypes.int32], [(2,)])[0] 122 def fn(x): function in function:MapDefunTest.testMapDefunPartialShapeInference 126 result = map_defun.map_defun(fn, [elems], [dtypes.int32], [(2,)] 135 def fn(x, y): function in function:MapDefunTest.testMapDefunRaisesErrorOnRuntimeShapeMismatch 151 def fn(x): function in function:MapDefunTest.testMapDefunRaisesDefunError 265 def fn(x): function in function:MapDefunTest.testMapDefunWithCapturedInputs 277 def fn(x): function in function:MapDefunTest.testMapDefunWithVariantTensor 302 def fn(x): function in function:MapDefunTest.testMapDefunWithVariantTensorAsCaptured 319 def fn(x): function in function:MapDefunTest.testMapDefunWithStrTensor [all...] |