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

Function sparseIndex

cpp/src/generated/SparseTensor_generated.h:659–661  ·  view source on GitHub ↗

Sparse tensor index

Source from the content-addressed store, hash-verified

657 }
658 /// Sparse tensor index
659 const void *sparseIndex() const {
660 return GetPointer<const void *>(VT_SPARSEINDEX);
661 }
662 template<typename T> const T *sparseIndex_as() const;
663 const org::apache::arrow::flatbuf::SparseTensorIndexCOO *sparseIndex_as_SparseTensorIndexCOO() const {
664 return sparseIndex_type() == org::apache::arrow::flatbuf::SparseTensorIndex_SparseTensorIndexCOO ? static_cast<const org::apache::arrow::flatbuf::SparseTensorIndexCOO *>(sparseIndex()) : nullptr;

Calls

no outgoing calls

Tested by

no test coverage detected