SparseCsrTensorΒΆ

Constructs a sparse tensor in CSR (Compressed Sparse Row) format.

Abstract Signature:

SparseCsrTensor(crow_indices: Tensor, col_indices: Tensor, values: Tensor, size: Optional[List[int]])

PyTorch

API: torch.sparse_csr_tensor
Strategy: Direct Mapping

JAX (Core)

API: jax.experimental.sparse.BCSR
Strategy: Plugin (sparse_csr_constructor)