<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L1893-L1914) |

Blackman window function.

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.blackman`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/blackman)

<br />

    tf.keras.ops.blackman(
        x
    )

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Scalar or 1D tensor. Window length. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A 1D tensor containing the Blackman window values. ||

<br />

#### Example:

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