| 552 | } |
| 553 | |
| 554 | Status TensorToSparseCSCMatrix(const std::shared_ptr<Tensor>& tensor, |
| 555 | std::shared_ptr<SparseCSCMatrix>* out) { |
| 556 | return SparseCSCMatrix::Make(*tensor).Value(out); |
| 557 | } |
| 558 | |
| 559 | Status TensorToSparseCSFTensor(const std::shared_ptr<Tensor>& tensor, |
| 560 | std::shared_ptr<SparseCSFTensor>* out) { |