Disable eq for tensors running in graph mode
PiperOrigin-RevId: 263780887
This commit is contained in:
parent
8dc38d9fab
commit
2861da0bf6
@ -196,6 +196,7 @@ class FunctionDefToGraphDefTest(test.TestCase):
|
|||||||
|
|
||||||
@test_util.run_deprecated_v1
|
@test_util.run_deprecated_v1
|
||||||
def testFunctionCallsFromFunction(self):
|
def testFunctionCallsFromFunction(self):
|
||||||
|
ops.disable_tensor_equality()
|
||||||
x = constant_op.constant(5.0)
|
x = constant_op.constant(5.0)
|
||||||
y = constant_op.constant(10.0)
|
y = constant_op.constant(10.0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user