Disable eq for tensors running in graph mode

PiperOrigin-RevId: 263780887
This commit is contained in:
Yanhua Sun 2019-08-16 09:01:08 -07:00 committed by TensorFlower Gardener
parent 8dc38d9fab
commit 2861da0bf6

View File

@ -196,6 +196,7 @@ class FunctionDefToGraphDefTest(test.TestCase):
@test_util.run_deprecated_v1
def testFunctionCallsFromFunction(self):
ops.disable_tensor_equality()
x = constant_op.constant(5.0)
y = constant_op.constant(10.0)