Home
last modified time | relevance | path

Searched refs:wav_dir (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data_test.py68 wav_dir = os.path.join(tmp_dir, "wavs")
69 os.mkdir(wav_dir)
70 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
71 background_dir = os.path.join(wav_dir, "_background_noise_")
81 "", wav_dir, 10, 10, ["a", "b"], 10, 10, model_settings, tmp_dir)
165 wav_dir = os.path.join(tmp_dir, "wavs")
166 os.mkdir(wav_dir)
167 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
168 background_dir = os.path.join(wav_dir, "_background_noise_")
183 audio_processor = input_data.AudioProcessor("", wav_dir, 10, 10, ["a", "b"],
[all …]
Dwav_to_features_test.py55 wav_dir = os.path.join(tmp_dir, "wavs")
56 os.mkdir(wav_dir)
57 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
71 wav_dir = os.path.join(tmp_dir, "wavs")
72 os.mkdir(wav_dir)
73 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
Dlabel_wav_dir.py57 def run_graph(wav_dir, labels, input_layer_name, output_layer_name, argument
65 for wav_path in glob.glob(wav_dir + '/*.wav'):
85 def label_wav(wav_dir, labels, graph, input_name, output_name, how_many_labels): argument
98 run_graph(wav_dir, labels_list, input_name, output_name, how_many_labels)
103 label_wav(FLAGS.wav_dir, FLAGS.labels, FLAGS.graph, FLAGS.input_name,
Dtrain_test.py74 wav_dir = os.path.join(tmp_dir, 'wavs')
75 os.mkdir(wav_dir)
76 self._saveWavFolders(wav_dir, ['a', 'b', 'c'], 100)
77 background_dir = os.path.join(wav_dir, '_background_noise_')
83 return wav_dir
/external/autotest/client/cros/audio/
Daudio_helper.py338 def create_wav_file(wav_dir, prefix=""): argument
348 return os.path.join(wav_dir, filename)