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

Function MakeSparseTensorWithSparseCSCIndex

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

Source from the content-addressed store, hash-verified

2486}
2487
2488Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSCIndex(
2489 const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape,
2490 const std::vector<std::string>& dim_names,
2491 const std::shared_ptr<SparseCSCIndex>& sparse_index, int64_t non_zero_length,
2492 const std::shared_ptr<Buffer>& data) {
2493 return SparseCSCMatrix::Make(sparse_index, type, data, shape, dim_names);
2494}
2495
2496Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSFIndex(
2497 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