Removing a test.
PiperOrigin-RevId: 245500739
This commit is contained in:
parent
a286fad85e
commit
43a187f402
@ -19,7 +19,6 @@ from __future__ import division
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
@ -825,19 +824,6 @@ class FunctionTest(test.TestCase):
|
|||||||
self.assertEqual(self.evaluate(y), 1)
|
self.assertEqual(self.evaluate(y), 1)
|
||||||
self.assertEqual(self.evaluate(z), 2)
|
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
|
@test_util.run_deprecated_v1
|
||||||
def testSignatureHash(self):
|
def testSignatureHash(self):
|
||||||
# Foo.Inner and Bar.Inner have identical function body but have
|
# Foo.Inner and Bar.Inner have identical function body but have
|
||||||
|
Loading…
Reference in New Issue
Block a user