| 547 | } |
| 548 | |
| 549 | Status TensorToSparseCSRMatrix(const std::shared_ptr<Tensor>& tensor, |
| 550 | std::shared_ptr<SparseCSRMatrix>* out) { |
| 551 | return SparseCSRMatrix::Make(*tensor).Value(out); |
| 552 | } |
| 553 | |
| 554 | Status TensorToSparseCSCMatrix(const std::shared_ptr<Tensor>& tensor, |
| 555 | std::shared_ptr<SparseCSCMatrix>* out) { |