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.py36 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)
Dtrain_test.py56 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)
Dlabel_wav_test.py35 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)
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.py56 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)
Dlabel_wav_dir.py69 wav_data = wav_file.read()
72 predictions, = sess.run(softmax_tensor, {input_layer_name: wav_data})
Dinput_data.py136 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/
Dwav_io_test.cc91 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/
Ddecode_wav_op_test.cc41 std::vector<uint8> wav_data = { in TEST() local
58 test::AsScalar<tstring>(string(wav_data.begin(), wav_data.end())); in TEST()
Dspectrogram_test_utils.cc33 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()