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

Function indptrBuffers

cpp/src/generated/SparseTensor_generated.h:432–434  ·  view source on GitHub ↗

indptrBuffers stores the sparsity structure. Each two consecutive dimensions in a tensor correspond to a buffer in indptrBuffers. A pair of consecutive values at `indptrBuffers[dim][i]` and `indptrBuffers[dim][i + 1]` signify a range of nodes in `indicesBuffers[dim + 1]` who are children of `indicesBuffers[dim][i]` node. For example, the indptrBuffers for the above X is: ```text indptrBuffer(X) =

Source from the content-addressed store, hash-verified

430 /// ].
431 /// ```
432 const ::flatbuffers::Vector<const org::apache::arrow::flatbuf::Buffer *> *indptrBuffers() const {
433 return GetPointer<const ::flatbuffers::Vector<const org::apache::arrow::flatbuf::Buffer *> *>(VT_INDPTRBUFFERS);
434 }
435 /// The type of values in indicesBuffers
436 const org::apache::arrow::flatbuf::Int *indicesType() const {
437 return GetPointer<const org::apache::arrow::flatbuf::Int *>(VT_INDICESTYPE);

Callers 1

VerifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected