tf.keras.ops.blackman

Blackman window function.

The Blackman window is a taper formed by using a weighted cosine.

x Scalar or 1D tensor. Window length.

A 1D tensor containing the Blackman window values.

Example:

keras.ops.blackman(x)
array([-1.4901161e-08,  3.4000003e-01,  9.9999994e-01,  3.3999997e-01,
   -1.4901161e-08], dtype=float32)