Home
last modified time | relevance | path

Searched refs:input_wav (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dmfcc.cc76 const TfLiteTensor* input_wav; in Prepare() local
78 GetInputSafe(context, node, kInputTensorWav, &input_wav)); in Prepare()
86 TF_LITE_ENSURE_EQ(context, NumDimensions(input_wav), 3); in Prepare()
90 TF_LITE_ENSURE_TYPES_EQ(context, input_wav->type, output->type); in Prepare()
94 output_size->data[0] = input_wav->dims->data[0]; in Prepare()
95 output_size->data[1] = input_wav->dims->data[1]; in Prepare()
110 const TfLiteTensor* input_wav; in Eval() local
112 GetInputSafe(context, node, kInputTensorWav, &input_wav)); in Eval()
122 const int spectrogram_channels = input_wav->dims->data[2]; in Eval()
123 const int spectrogram_samples = input_wav->dims->data[1]; in Eval()
[all …]
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dwav_to_spectrogram_test.cc25 const tensorflow::string input_wav = in TEST() local
34 input_wav, wav_string)); in TEST()
35 TF_ASSERT_OK(WavToSpectrogram(input_wav, 4, 4, 64.0f, output_image)); in TEST()
Dmain.cc27 tensorflow::string input_wav = in main() local
34 tensorflow::Flag("input_wav", &input_wav, "audio file to load"), in main()
59 input_wav, window_size, stride, brightness, output_image); in main()
Dwav_to_spectrogram.cc43 tensorflow::Status WavToSpectrogram(const tensorflow::string& input_wav, in WavToSpectrogram() argument
56 tensorflow::ops::ReadFile(root.WithOpName("input_wav"), input_wav); in WavToSpectrogram()
Dwav_to_spectrogram.h26 tensorflow::Status WavToSpectrogram(const tensorflow::string& input_wav,
DREADME.md45 --input_wav=/tmp/my_audio.wav \
/external/tensorflow/tensorflow/examples/speech_commands/
Dwav_to_features.py49 input_wav, output_c_file): argument
73 results = audio_processor.get_features_for_wav(input_wav, model_settings,
77 variable_base = os.path.splitext(os.path.basename(input_wav).lower())[0]
91 f.write(' * --input_wav="%s" \\\n' % input_wav)
131 FLAGS.input_wav, FLAGS.output_c_file)
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/train/
DREADME.md160 --input_wav=/tmp/speech_dataset/yes/f2e59fea_nohash_1.wav \
165 --input_wav=/tmp/speech_dataset/no/f9643d42_nohash_4.wav \