tf.signal.inverse_stft_window_fn | TensorFlow v2.16.1 (original) (raw)
tf.signal.inverse_stft_window_fn
Generates a window function that can be used in inverse_stft
.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.compat.v1.signal.inverse_stft_window_fn
tf.signal.inverse_stft_window_fn(
frame_step,
forward_window_fn=tf.signal.hann_window,
name=None
)
Constructs a window that is equal to the forward window with a further pointwise amplitude correction. inverse_stft_window_fn
is equivalent toforward_window_fn
in the case where it would produce an exact inverse.
See examples in inverse_stft
documentation for usage.
Args | |
---|---|
frame_step | An integer scalar Tensor. The number of samples to step. |
forward_window_fn | window_fn used in the forward transform, stft. |
name | An optional name for the operation. |
Returns |
---|
A callable that takes a window length and a dtype keyword argument and returns a [window_length] Tensor of samples in the provided datatype. The returned window is suitable for reconstructing original waveform in inverse_stft. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.