| 234 | } |
| 235 | |
| 236 | inline ::flatbuffers::Offset<SparseTensorIndexCOO> CreateSparseTensorIndexCOODirect( |
| 237 | ::flatbuffers::FlatBufferBuilder &_fbb, |
| 238 | ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indicesType = 0, |
| 239 | const std::vector<int64_t> *indicesStrides = nullptr, |
| 240 | const org::apache::arrow::flatbuf::Buffer *indicesBuffer = nullptr, |
| 241 | bool isCanonical = false) { |
| 242 | auto indicesStrides__ = indicesStrides ? _fbb.CreateVector<int64_t>(*indicesStrides) : 0; |
| 243 | return org::apache::arrow::flatbuf::CreateSparseTensorIndexCOO( |
| 244 | _fbb, |
| 245 | indicesType, |
| 246 | indicesStrides__, |
| 247 | indicesBuffer, |
| 248 | isCanonical); |
| 249 | } |
| 250 | |
| 251 | /// Compressed Sparse format, that is matrix-specific. |
| 252 | struct SparseMatrixIndexCSX FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { |
nothing calls this directly
no test coverage detected