MCPcopy Create free account
hub / github.com/apache/arrow / NdarraysToSparseCSCMatrix

Function NdarraysToSparseCSCMatrix

python/pyarrow/src/arrow/python/numpy_convert.cc:536–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536Status 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
544Status TensorToSparseCOOTensor(const std::shared_ptr<Tensor>& tensor,
545 std::shared_ptr<SparseCOOTensor>* out) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected