| 356 | }; |
| 357 | |
| 358 | inline ::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. |
| 375 | struct SparseTensorIndexCSF FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { |
no test coverage detected