diff options
Diffstat (limited to 'tensorflow/examples/speech_commands/label_wav_test.py')
-rw-r--r-- | tensorflow/examples/speech_commands/label_wav_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/speech_commands/label_wav_test.py b/tensorflow/examples/speech_commands/label_wav_test.py index 80ca774706..f0af2a4798 100644 --- a/tensorflow/examples/speech_commands/label_wav_test.py +++ b/tensorflow/examples/speech_commands/label_wav_test.py @@ -30,7 +30,7 @@ from tensorflow.python.platform import test class LabelWavTest(test.TestCase): def _getWavData(self): - with self.test_session() as sess: + with self.cached_session() as sess: sample_data = tf.zeros([1000, 2]) wav_encoder = contrib_audio.encode_wav(sample_data, 16000) wav_data = sess.run(wav_encoder) |