Removing a test.

PiperOrigin-RevId: 245500739
This commit is contained in:
A. Unique TensorFlower 2019-04-26 15:46:08 -07:00 committed by TensorFlower Gardener
parent a286fad85e
commit 43a187f402

View File

@ -19,7 +19,6 @@ from __future__ import division
from __future__ import print_function
import re
import sys
import time
import numpy as np
@ -825,19 +824,6 @@ class FunctionTest(test.TestCase):
self.assertEqual(self.evaluate(y), 1)
self.assertEqual(self.evaluate(z), 2)
def testStableName(self):
@function.Defun()
def Foo(x, y, z):
return math_ops.tanh(math_ops.matmul(x, y) + z)
if sys.byteorder == "big":
self.assertEqual("Foo_kEdkAG8SJvg",
Foo.instantiate([dtypes.float32] * 3).name)
else:
self.assertEqual("Foo_iaWr0XXe2BQ",
Foo.instantiate([dtypes.float32] * 3).name)
@test_util.run_deprecated_v1
def testSignatureHash(self):
# Foo.Inner and Bar.Inner have identical function body but have