aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-09 23:57:18 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-10 00:06:21 -0700
commit1409ea9dbd8275dcbd394451d2cb878e0e873d45 (patch)
tree7e5e6eed37aa2b7633cd673df160f3d15313bc33
parent5a2d98f7f7cf6f52eb0496bf27be07d9e1f29040 (diff)
Delete dead code in batch_scatter_ops_test.
PiperOrigin-RevId: 216483746
-rw-r--r--tensorflow/python/kernel_tests/batch_scatter_ops_test.py10
1 files changed, 0 insertions, 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: