Home
last modified time | relevance | path

Searched refs:signal_length (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dspectral_ops_test.py165 for signal_length, frame_length, frame_step, fft_length in test_configs:
166 signal = np.random.random(signal_length).astype(np.float32)
185 for (signal_length, frame_length, frame_step, fft_length, threshold,
188 signal = random_ops.random_normal([signal_length])
285 signal_length = 512
289 empty_signal = array_ops.zeros([signal_length], dtype=dtypes.float32)
297 2 * np.pi * math_ops.linspace(0.0, 1.0, signal_length))
315 for (signal_length, frame_length, frame_step, fft_length) in test_configs:
316 signal_shape = [signal_length]
318 stft_shape = [max(0, 1 + (signal_length - frame_length) // frame_step),
[all …]
Dshape_ops_test.py152 for signal_length in range(2):
153 signal = [0] * signal_length
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc374 const size_t signal_length = static_cast<size_t>(256 * fs_mult); in AnalyzeSignal() local
376 &(*sync_buffer_)[0][sync_buffer_->Size() - signal_length]; in AnalyzeSignal()
386 Correlation(audio_history, signal_length, correlation_vector, in AnalyzeSignal()
408 &(audio_history[signal_length - fs_mult_dist_len]), min_index, in AnalyzeSignal()
455 &audio_history[signal_length - correlation_length - start_index in AnalyzeSignal()
465 &(audio_history[signal_length - correlation_length]), in AnalyzeSignal()
466 &(audio_history[signal_length - correlation_length - start_index]), in AnalyzeSignal()
477 &(audio_history[signal_length - correlation_length]), in AnalyzeSignal()
478 &(audio_history[signal_length - correlation_length]), in AnalyzeSignal()
481 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
[all …]