/external/tensorflow/tensorflow/examples/speech_commands/ |
D | wav_to_features_test.py | 37 wav_data = self.evaluate(wav_encoder) 38 return wav_data 40 def _saveTestWavFile(self, filename, wav_data): argument 42 f.write(wav_data) 45 wav_data = self._getWavData() 51 self._saveTestWavFile(file_path, wav_data) 61 wav_data = self._getWavData() 62 self._saveTestWavFile(input_file_path, wav_data) 77 wav_data = self._getWavData() 78 self._saveTestWavFile(input_file_path, 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_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) 45 wav_data = self._getWavData() 47 self._saveTestWavFile(wav_filename, wav_data)
|
D | train_test.py | 45 wav_data = self.evaluate(wav_encoder) 46 return wav_data 48 def _saveTestWavFile(self, filename, wav_data): argument 50 f.write(wav_data) 53 wav_data = self._getWavData() 59 self._saveTestWavFile(file_path, wav_data) 68 wav_data = self._getWavData() 71 self._saveTestWavFile(file_path, wav_data)
|
D | label_wav.py | 59 def run_graph(wav_data, labels, input_layer_name, output_layer_name, argument 68 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data}) 97 wav_data = wav_file.read() 99 run_graph(wav_data, labels_list, input_name, output_name, how_many_labels)
|
D | label_wav_dir.py | 73 wav_data = wav_file.read() 76 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data})
|
D | input_data.py | 134 def save_wav_file(filename, wav_data, sample_rate): argument 154 wav_data_placeholder: np.reshape(wav_data, (-1, 1)) 359 wav_data = sess.run( 362 self.background_data.append(wav_data)
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io_test.cc | 90 string wav_data; in TEST() local 91 TF_ASSERT_OK(EncodeAudioAsS16LEWav(audio, 44100, 2, 3, &wav_data)); in TEST() 97 wav_data, &decoded_audio, &decoded_sample_count, &decoded_channel_count, in TEST() 108 std::vector<uint8> wav_data = { in TEST() local 129 string expected(wav_data.begin(), wav_data.end()); in TEST() 137 std::vector<uint8> wav_data = { in TEST() local 158 string expected(wav_data.begin(), wav_data.end()); in TEST() 171 std::vector<uint8> wav_data = { in TEST() local 198 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<string>(string(wav_data.begin(), wav_data.end())); in TEST()
|
D | spectrogram_test_utils.cc | 32 string wav_data; in ReadWaveFileToVector() local 33 if (!ReadFileToString(Env::Default(), file_name, &wav_data).ok()) { in ReadWaveFileToVector() 42 wav_data, &decoded_data, &decoded_sample_count, in ReadWaveFileToVector()
|