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

Function CreateSparseTensorIndexCSFDirect

cpp/src/generated/SparseTensor_generated.h:529–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529inline ::flatbuffers::Offset<SparseTensorIndexCSF> CreateSparseTensorIndexCSFDirect(
530 ::flatbuffers::FlatBufferBuilder &_fbb,
531 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indptrType = 0,
532 const std::vector<org::apache::arrow::flatbuf::Buffer> *indptrBuffers = nullptr,
533 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indicesType = 0,
534 const std::vector<org::apache::arrow::flatbuf::Buffer> *indicesBuffers = nullptr,
535 const std::vector<int32_t> *axisOrder = nullptr) {
536 auto indptrBuffers__ = indptrBuffers ? _fbb.CreateVectorOfStructs<org::apache::arrow::flatbuf::Buffer>(*indptrBuffers) : 0;
537 auto indicesBuffers__ = indicesBuffers ? _fbb.CreateVectorOfStructs<org::apache::arrow::flatbuf::Buffer>(*indicesBuffers) : 0;
538 auto axisOrder__ = axisOrder ? _fbb.CreateVector<int32_t>(*axisOrder) : 0;
539 return org::apache::arrow::flatbuf::CreateSparseTensorIndexCSF(
540 _fbb,
541 indptrType,
542 indptrBuffers__,
543 indicesType,
544 indicesBuffers__,
545 axisOrder__);
546}
547
548struct SparseTensor FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
549 typedef SparseTensorBuilder Builder;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected