tf.signal.hann_window

View source on GitHub

Generate a Hann window.

tf.signal.hann_window(
    window_length, periodic=True, dtype=tf.dtypes.float32, name=None
)

Args:

Returns:

A Tensor of shape [window_length] of type dtype.

Raises: