From 1409ea9dbd8275dcbd394451d2cb878e0e873d45 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 9 Oct 2018 23:57:18 -0700 Subject: Delete dead code in batch_scatter_ops_test. PiperOrigin-RevId: 216483746 --- tensorflow/python/kernel_tests/batch_scatter_ops_test.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tensorflow/python/kernel_tests/batch_scatter_ops_test.py b/tensorflow/python/kernel_tests/batch_scatter_ops_test.py index 0d41a7e3b3..498e5f05a3 100644 --- a/tensorflow/python/kernel_tests/batch_scatter_ops_test.py +++ b/tensorflow/python/kernel_tests/batch_scatter_ops_test.py @@ -73,16 +73,6 @@ class ScatterTest(test.TestCase): tf_scatter(ref, indices, updates).eval() self.assertAllClose(ref.eval(), new) - def _VariableRankTests(self, - tf_scatter): - vtypes = [np.float32, np.float64] - if tf_scatter != state_ops.scatter_div: - vtypes.append(np.int32) - - for vtype in vtypes: - for itype in (np.int32, np.int64): - self._VariableRankTest(tf_scatter, vtype, itype) - def testVariableRankUpdate(self): vtypes = [np.float32, np.float64] for vtype in vtypes: -- cgit v1.2.3