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

Function GetSparseCSXIndexMetadata

cpp/src/arrow/ipc/metadata_internal.cc:1513–1519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511}
1512
1513Status GetSparseCSXIndexMetadata(const flatbuf::SparseMatrixIndexCSX* sparse_index,
1514 std::shared_ptr<DataType>* indptr_type,
1515 std::shared_ptr<DataType>* indices_type) {
1516 RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indptrType(), indptr_type));
1517 RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indicesType(), indices_type));
1518 return Status::OK();
1519}
1520
1521Status GetSparseCSFIndexMetadata(const flatbuf::SparseTensorIndexCSF* sparse_index,
1522 std::vector<int64_t>* axis_order,

Callers 2

ReadSparseCSXIndexFunction · 0.85
ReadSparseTensorPayloadFunction · 0.85

Calls 2

IntFromFlatbufferFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected