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

Function MakeSparseTensorWithSparseCOOIndex

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

Source from the content-addressed store, hash-verified

2453}
2454
2455Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCOOIndex(
2456 const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape,
2457 const std::vector<std::string>& dim_names,
2458 const std::shared_ptr<SparseCOOIndex>& sparse_index, int64_t non_zero_length,
2459 const std::shared_ptr<Buffer>& data) {
2460 return SparseCOOTensor::Make(sparse_index, type, data, shape, dim_names);
2461}
2462
2463Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex(
2464 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