diff options
author | zhengxq <zhengxq@google.com> | 2018-05-16 22:35:04 -0700 |
---|---|---|
committer | zhengxq <zhengxq@google.com> | 2018-05-16 22:35:04 -0700 |
commit | c5a389d91ee74c230c732c8146b05e13a5c3f2c7 (patch) | |
tree | b99e2a0bf443fe281f2b5fa0c7e880fbd7786f17 /tensorflow/contrib/training | |
parent | 2c5e94c075454bf23bfa5a8a83e2d05011f4758e (diff) | |
parent | 23e17c68c76b01c7389065da9c0c4f829177ca8c (diff) |
Merge commit for internal changes
Diffstat (limited to 'tensorflow/contrib/training')
-rw-r--r-- | tensorflow/contrib/training/python/training/batch_sequences_with_states_test.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tensorflow/contrib/training/python/training/batch_sequences_with_states_test.py b/tensorflow/contrib/training/python/training/batch_sequences_with_states_test.py index f305197c19..df07ff44ee 100644 --- a/tensorflow/contrib/training/python/training/batch_sequences_with_states_test.py +++ b/tensorflow/contrib/training/python/training/batch_sequences_with_states_test.py @@ -27,7 +27,6 @@ from tensorflow.python.framework import dtypes from tensorflow.python.framework import errors_impl from tensorflow.python.framework import ops from tensorflow.python.framework import sparse_tensor -from tensorflow.python.framework import test_util from tensorflow.python.ops import array_ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import random_ops @@ -506,19 +505,6 @@ class BatchSequencesWithStatesTest(test.TestCase): expected_seq4_batch2=expected_seq4_batch2) -class BatchSequencesWithStatesTestWithCApi(BatchSequencesWithStatesTest): - - def setUp(self): - self._prev_value = ops._USE_C_API - ops._USE_C_API = True - super(BatchSequencesWithStatesTestWithCApi, self).setUp() - - def tearDown(self): - super(BatchSequencesWithStatesTestWithCApi, self).tearDown() - ops._USE_C_API = self._prev_value - - -@test_util.with_c_api class PaddingTest(test.TestCase): def testPaddingInvalidLengths(self): |