# tf.raw_ops.SparseMatrixZeros

<br />

Creates an all-zeros CSRSparseMatrix with shape `dense_shape`.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.SparseMatrixZeros`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseMatrixZeros)

<br />

    tf.raw_ops.SparseMatrixZeros(
        dense_shape, type, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `dense_shape` | A `Tensor` of type `int64`. The desired matrix shape. |
| `type` | A [`tf.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType) from: `tf.float32, tf.float64, tf.complex64, tf.complex128`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `variant`. ||

<br />