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

Function TensorToSparseCSRMatrix

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

MakeFunction · 0.50
ValueMethod · 0.45

Tested by

no test coverage detected