/external/tensorflow/tensorflow/examples/speech_commands/ |
D | wav_to_features_test.py | 36 wav_data = self.evaluate(wav_encoder) 37 return wav_data 39 def _saveTestWavFile(self, filename, wav_data): argument 41 f.write(wav_data) 44 wav_data = self._getWavData() 50 self._saveTestWavFile(file_path, wav_data) 60 wav_data = self._getWavData() 61 self._saveTestWavFile(input_file_path, wav_data) 76 wav_data = self._getWavData() 77 self._saveTestWavFile(input_file_path, wav_data)
|
D | train_test.py | 56 wav_data = self.evaluate(wav_encoder) 57 return wav_data 59 def _saveTestWavFile(self, filename, wav_data): argument 61 f.write(wav_data) 64 wav_data = self._getWavData() 70 self._saveTestWavFile(file_path, wav_data) 79 wav_data = self._getWavData() 82 self._saveTestWavFile(file_path, wav_data)
|
D | label_wav_test.py | 35 wav_data = self.evaluate(wav_encoder) 36 return wav_data 38 def _saveTestWavFile(self, filename, wav_data): argument 40 f.write(wav_data) 44 wav_data = self._getWavData() 46 self._saveTestWavFile(wav_filename, wav_data)
|
D | input_data_test.py | 39 wav_data = self.evaluate(wav_encoder) 40 return wav_data 42 def _saveTestWavFile(self, filename, wav_data): argument 44 f.write(wav_data) 47 wav_data = self._getWavData() 53 self._saveTestWavFile(file_path, wav_data) 73 wav_data = self._getWavData() 76 self._saveTestWavFile(file_path, wav_data) 135 wav_data = self._getWavData() 138 self._saveTestWavFile(file_path, wav_data) [all …]
|
D | label_wav.py | 56 def run_graph(wav_data, labels, input_layer_name, output_layer_name, argument 65 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data}) 93 wav_data = wav_file.read() 95 run_graph(wav_data, labels_list, input_name, output_name, how_many_labels)
|
D | label_wav_dir.py | 69 wav_data = wav_file.read() 72 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data})
|
D | input_data.py | 136 def save_wav_file(filename, wav_data, sample_rate): argument 156 wav_data_placeholder: np.reshape(wav_data, (-1, 1)) 362 wav_data = sess.run( 365 self.background_data.append(wav_data)
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io_test.cc | 91 string wav_data; in TEST() local 92 TF_ASSERT_OK(EncodeAudioAsS16LEWav(audio, 44100, 2, 3, &wav_data)); in TEST() 98 wav_data, &decoded_audio, &decoded_sample_count, &decoded_channel_count, in TEST() 109 std::vector<uint8> wav_data = { in TEST() local 130 string expected(wav_data.begin(), wav_data.end()); in TEST() 138 std::vector<uint8> wav_data = { in TEST() local 159 string expected(wav_data.begin(), wav_data.end()); in TEST() 172 std::vector<uint8> wav_data = { in TEST() local 199 string wav_data_string(wav_data.begin(), wav_data.end()); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_wav_op_test.cc | 41 std::vector<uint8> wav_data = { in TEST() local 58 test::AsScalar<tstring>(string(wav_data.begin(), wav_data.end())); in TEST()
|
D | spectrogram_test_utils.cc | 33 string wav_data; in ReadWaveFileToVector() local 34 if (!ReadFileToString(Env::Default(), file_name, &wav_data).ok()) { in ReadWaveFileToVector() 43 wav_data, &decoded_data, &decoded_sample_count, in ReadWaveFileToVector()
|