Home
last modified time | relevance | path

Searched refs:wav_data (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/examples/speech_commands/
Dwav_to_features_test.py37 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)
Dinput_data_test.py39 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 …]
Dlabel_wav_test.py36 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)
Dtrain_test.py45 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)
Dlabel_wav.py59 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)
Dlabel_wav_dir.py73 wav_data = wav_file.read()
76 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data})
Dinput_data.py134 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/
Dwav_io_test.cc90 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/
Ddecode_wav_op_test.cc41 std::vector<uint8> wav_data = { in TEST() local
58 test::AsScalar<string>(string(wav_data.begin(), wav_data.end())); in TEST()
Dspectrogram_test_utils.cc32 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()