# tf.raw_ops.CSRSparseMatrixComponents

<br />

Reads out the CSR components at batch `index`.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.CSRSparseMatrixComponents(
        csr_sparse_matrix, index, type, name=None
    )

This op is meant only for debugging / testing, and its interface is not expected
to be stable.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `csr_sparse_matrix` | A `Tensor` of type `variant`. A batched CSRSparseMatrix. |
| `index` | A `Tensor` of type `int32`. The index in `csr_sparse_matrix`'s batch. |
| `type` | A [`tf.DType`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/dtypes/DType) from: `tf.float32, tf.float64, tf.complex64, tf.complex128`. |
| `name` | A name for the operation (optional). |

<br />

<br />

| ## Returns ||
|---|---|
| A tuple of `Tensor` objects (row_ptrs, col_inds, values). ||
| `row_ptrs` | A `Tensor` of type `int32`. |
| `col_inds` | A `Tensor` of type `int32`. |
| `values` | A `Tensor` of type `type`. |

<br />