Remove NumPy 1.13 workaround in test.
PiperOrigin-RevId: 295860559 Change-Id: Id80d310a3e61bb2206c721387a1f3cc0975f3ac5
This commit is contained in:
parent
0623e844cc
commit
11a50f8873
@ -705,9 +705,6 @@ class SparseReduceTest(test_util.TensorFlowTestCase):
|
|||||||
|
|
||||||
@test_util.run_deprecated_v1
|
@test_util.run_deprecated_v1
|
||||||
def testGradient(self):
|
def testGradient(self):
|
||||||
if np.__version__ == "1.13.0":
|
|
||||||
self.skipTest("numpy 1.13.0 bug")
|
|
||||||
|
|
||||||
np.random.seed(8161)
|
np.random.seed(8161)
|
||||||
test_dims = [(11, 1, 5, 7, 1), (2, 2)]
|
test_dims = [(11, 1, 5, 7, 1), (2, 2)]
|
||||||
with self.session(use_gpu=False):
|
with self.session(use_gpu=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user