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

Function GetSparseCSXIndexMetadata

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

Source from the content-addressed store, hash-verified

1507}
1508
1509Status GetSparseCSXIndexMetadata(const flatbuf::SparseMatrixIndexCSX* sparse_index,
1510 std::shared_ptr<DataType>* indptr_type,
1511 std::shared_ptr<DataType>* indices_type) {
1512 RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indptrType(), indptr_type));
1513 RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indicesType(), indices_type));
1514 return Status::OK();
1515}
1516
1517Status GetSparseCSFIndexMetadata(const flatbuf::SparseTensorIndexCSF* sparse_index,
1518 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