| 534 | } |
| 535 | |
| 536 | Status NdarraysToSparseCSCMatrix(MemoryPool* pool, PyObject* data_ao, PyObject* indptr_ao, |
| 537 | PyObject* indices_ao, const std::vector<int64_t>& shape, |
| 538 | const std::vector<std::string>& dim_names, |
| 539 | std::shared_ptr<SparseCSCMatrix>* out) { |
| 540 | return NdarraysToSparseCSXMatrix<SparseCSCIndex>(pool, data_ao, indptr_ao, indices_ao, |
| 541 | shape, dim_names, out); |
| 542 | } |
| 543 | |
| 544 | Status TensorToSparseCOOTensor(const std::shared_ptr<Tensor>& tensor, |
| 545 | std::shared_ptr<SparseCOOTensor>* out) { |
nothing calls this directly
no outgoing calls
no test coverage detected