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

Function CreateSparseMatrixIndexCSX

cpp/src/generated/SparseTensor_generated.h:358–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358inline ::flatbuffers::Offset<SparseMatrixIndexCSX> CreateSparseMatrixIndexCSX(
359 ::flatbuffers::FlatBufferBuilder &_fbb,
360 org::apache::arrow::flatbuf::SparseMatrixCompressedAxis compressedAxis = org::apache::arrow::flatbuf::SparseMatrixCompressedAxis_Row,
361 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indptrType = 0,
362 const org::apache::arrow::flatbuf::Buffer *indptrBuffer = nullptr,
363 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indicesType = 0,
364 const org::apache::arrow::flatbuf::Buffer *indicesBuffer = nullptr) {
365 SparseMatrixIndexCSXBuilder builder_(_fbb);
366 builder_.add_indicesBuffer(indicesBuffer);
367 builder_.add_indicesType(indicesType);
368 builder_.add_indptrBuffer(indptrBuffer);
369 builder_.add_indptrType(indptrType);
370 builder_.add_compressedAxis(compressedAxis);
371 return builder_.Finish();
372}
373
374/// Compressed Sparse Fiber (CSF) sparse tensor index.
375struct SparseTensorIndexCSF FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {

Callers 1

MakeSparseMatrixIndexCSXFunction · 0.85

Calls 6

add_indptrBufferMethod · 0.80
add_compressedAxisMethod · 0.80
add_indicesBufferMethod · 0.45
add_indicesTypeMethod · 0.45
add_indptrTypeMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected