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

Function MakeSparseTensorWithSparseCSCIndex

cpp/src/arrow/ipc/reader.cc:2415–2421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2413}
2414
2415Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSCIndex(
2416 const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape,
2417 const std::vector<std::string>& dim_names,
2418 const std::shared_ptr<SparseCSCIndex>& sparse_index, int64_t non_zero_length,
2419 const std::shared_ptr<Buffer>& data) {
2420 return SparseCSCMatrix::Make(sparse_index, type, data, shape, dim_names);
2421}
2422
2423Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSFIndex(
2424 const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape,

Callers 2

ReadSparseTensorPayloadFunction · 0.85
ReadSparseTensorFunction · 0.85

Calls 1

MakeFunction · 0.50

Tested by

no test coverage detected