<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#L9252-L9263) |

Return a new tensor of given shape and type, filled with zeros.

#### View aliases


**Main aliases**

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

<br />

    tf.keras.ops.zeros(
        shape, dtype=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `shape` | Shape of the new tensor. |
| `dtype` | Desired data type of the tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Tensor of zeros with the given shape and dtype. ||

<br />