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

Function MakeSparseTensorWithSparseCOOIndex

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

Source from the content-addressed store, hash-verified

2397}
2398
2399Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCOOIndex(
2400 const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape,
2401 const std::vector<std::string>& dim_names,
2402 const std::shared_ptr<SparseCOOIndex>& sparse_index, int64_t non_zero_length,
2403 const std::shared_ptr<Buffer>& data) {
2404 return SparseCOOTensor::Make(sparse_index, type, data, shape, dim_names);
2405}
2406
2407Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex(
2408 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