tf.contrib.signal.inverse_stft_window_fn(
frame_step,
forward_window_fn=functools.partial(window_ops.hann_window, periodic=True),
name=None
)
Defined in tensorflow/contrib/signal/python/ops/spectral_ops.py.
Generates a window function that can be used in inverse_stft.
Constructs a window that is equal to the forward window with a further pointwise amplitude correction. inverse_stft_window_fn is equivalent to forward_window_fn in the case where it would produce an exact inverse.
See examples in inverse_stft documentation for usage.
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.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.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/signal/inverse_stft_window_fn