/external/tensorflow/tensorflow/core/kernels/ |
D | mfcc_op.cc | 43 const Tensor& spectrogram = context->input(0); in Compute() local 44 OP_REQUIRES(context, spectrogram.dims() == 3, in Compute() 46 spectrogram.shape().DebugString())); in Compute() 54 const int spectrogram_channels = spectrogram.dim_size(2); in Compute() 55 const int spectrogram_samples = spectrogram.dim_size(1); in Compute() 56 const int audio_channels = spectrogram.dim_size(0); in Compute() 76 const float* spectrogram_flat = spectrogram.flat<float>().data(); in Compute()
|
D | spectrogram_op.cc | 44 Spectrogram spectrogram; in Compute() local 45 OP_REQUIRES(context, spectrogram.Initialize(window_size_, stride_), in Compute() 55 const int64 output_width = spectrogram.output_frequency_channels(); in Compute() 75 OP_REQUIRES(context, spectrogram.Reset(), in Compute() 85 spectrogram.ComputeSquaredMagnitudeSpectrogram( in Compute()
|
D | spectrogram_op_test.cc | 56 {spectrogram_op.spectrogram}, &outputs)); in TEST() 90 {spectrogram_op.spectrogram}, &outputs)); in TEST() 127 {spectrogram_op.spectrogram}, &outputs)); in TEST()
|
D | spectrogram_test.cc | 183 double GetMaximumAbsolute(const std::vector<std::vector<Sample>>& spectrogram) { in GetMaximumAbsolute() argument 185 for (int i = 0; i < spectrogram.size(); ++i) { in GetMaximumAbsolute() 186 for (int j = 0; j < spectrogram[i].size(); ++j) { in GetMaximumAbsolute() 187 double absolute_value = std::abs(spectrogram[i][j]); in GetMaximumAbsolute()
|
D | BUILD | 5483 name = "spectrogram", 5484 srcs = ["spectrogram.cc"], 5485 hdrs = ["spectrogram.h"], 5527 ":spectrogram", 5544 ":spectrogram", 5949 "spectrogram.h", 6222 "spectrogram.cc",
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | audio_spectrogram.cc | 48 internal::Spectrogram* spectrogram; member 61 data->spectrogram = new internal::Spectrogram; in Init() 68 delete params->spectrogram; in Free() 90 TF_LITE_ENSURE(context, params->spectrogram->Initialize(params->window_size, in Prepare() 102 output_size->data[2] = params->spectrogram->output_frequency_channels(); in Prepare() 118 TF_LITE_ENSURE(context, params->spectrogram->Initialize(params->window_size, in Eval() 126 const int64_t output_width = params->spectrogram->output_frequency_channels(); in Eval() 139 params->spectrogram->ComputeSquaredMagnitudeSpectrogram( in Eval()
|
/external/tensorflow/tensorflow/core/ops/ |
D | audio_ops.cc | 104 ShapeHandle spectrogram; in MfccShapeFn() local 105 TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 3, &spectrogram)); in MfccShapeFn() 113 DimensionHandle spectrogram_channels = c->Dim(spectrogram, 0); in MfccShapeFn() 114 DimensionHandle spectrogram_length = c->Dim(spectrogram, 1); in MfccShapeFn()
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | README.md | 4 spectrogram, and then save it out as a PNG image. A spectrogram is a 23 and writes out the image to the current directory as spectrogram.png. 30 To control how the spectrogram is created, you can specify the `--window_size`
|
D | wav_to_spectrogram.cc | 59 Output spectrogram = AudioSpectrogram(root.WithOpName("spectrogram"), in WavToSpectrogram() local 64 Output mul = Mul(root.WithOpName("mul"), spectrogram, brightness_placeholder); in WavToSpectrogram()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Mfcc.pbtxt | 4 name: "spectrogram" 42 summary: "Transforms a spectrogram into a form that\'s useful for speech recognition." 46 taking the spectrum of a spectrogram (a 'cepstrum'), and discarding some of the
|
D | api_def_AudioSpectrogram.pbtxt | 10 name: "spectrogram" 51 clockwise from a typical spectrogram. Time is descending down the Y axis, and 61 resulting spectrogram as a PNG image.
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | input_data_test.py | 267 spectrogram = results[0] 268 self.assertEqual(1, spectrogram.shape[0]) 269 self.assertEqual(16, spectrogram.shape[1]) 270 self.assertEqual(11, spectrogram.shape[2]) 271 self.assertNear(0, spectrogram[0, 0, 0], 0.1) 272 self.assertNear(200, spectrogram[0, 0, 5], 0.1)
|
D | freeze.py | 103 spectrogram = audio_ops.audio_spectrogram( 111 input=tf.expand_dims(spectrogram, -1), 118 spectrogram,
|
D | input_data.py | 429 spectrogram = audio_ops.audio_spectrogram( 435 'spectrogram', tf.expand_dims(spectrogram, -1), max_outputs=1) 446 input=tf.expand_dims(spectrogram, -1), 456 spectrogram,
|
/external/tensorflow/tensorflow/core/kernels/spectrogram_test_data/ |
D | BUILD | 2 # spectrogram test data packages.
|
D | README | 1 The CSV spectrogram files in this directory are generated from the
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | AudioSpectrogram.pbtxt | 8 name: "spectrogram"
|
D | Mfcc.pbtxt | 4 name: "spectrogram"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | AudioSpectrogram.pbtxt | 8 name: "spectrogram"
|
D | Mfcc.pbtxt | 4 name: "spectrogram"
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/train/ |
D | README.md | 129 ![spectrogram diagram](https://storage.googleapis.com/download.tensorflow.org/example_images/spectr… 135 The recipe for creating the spectrogram data is that each frequency slice is
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | BUILD | 788 "spectrogram.cc", 794 "spectrogram.h",
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 3036 func Mfcc(scope *Scope, spectrogram tf.Output, sample_rate tf.Output, optional ...MfccAttr) (output… 3047 spectrogram, sample_rate, 3104 …utput, window_size int64, stride int64, optional ...AudioSpectrogramAttr) (spectrogram tf.Output) {
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.raw_ops.pbtxt | 2521 …argspec: "args=[\'spectrogram\', \'sample_rate\', \'upper_frequency_limit\', \'lower_frequency_lim…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.raw_ops.pbtxt | 2521 …argspec: "args=[\'spectrogram\', \'sample_rate\', \'upper_frequency_limit\', \'lower_frequency_lim…
|