Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/signal/
Dmel_ops.py69 def _validate_arguments(num_mel_bins, sample_rate, argument
72 if num_mel_bins <= 0:
73 raise ValueError('num_mel_bins must be positive. Got: %s' % num_mel_bins)
91 def linear_to_mel_weight_matrix(num_mel_bins=20, argument
154 _validate_arguments(num_mel_bins, sample_rate,
182 num_mel_bins + 2), frame_length=3, frame_step=1)
186 t, [1, num_mel_bins]) for t in array_ops.split(
Dmfcc_ops.py102 num_mel_bins = log_mel_spectrograms.shape.dims[-1].value
103 if num_mel_bins == 0:
107 num_mel_bins = array_ops.shape(log_mel_spectrograms)[-1]
111 math_ops.cast(num_mel_bins, dtypes.float32) * 2.0)
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dmel_ops_test.py53 def spectrogram_to_mel_matrix(num_mel_bins=20, argument
109 hertz_to_mel(upper_edge_hertz), num_mel_bins + 2)
112 mel_weights_matrix = np.empty((num_spectrogram_bins, num_mel_bins))
113 for i in range(num_mel_bins):
157 mel_ops.linear_to_mel_weight_matrix(num_mel_bins=0)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.signal.pbtxt69 …argspec: "args=[\'num_mel_bins\', \'num_spectrogram_bins\', \'sample_rate\', \'lower_edge_hertz\',…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.signal.pbtxt69 …argspec: "args=[\'num_mel_bins\', \'num_spectrogram_bins\', \'sample_rate\', \'lower_edge_hertz\',…