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

Function CreateSparseTensorIndexCOO

cpp/src/generated/SparseTensor_generated.h:222–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220};
221
222inline ::flatbuffers::Offset<SparseTensorIndexCOO> CreateSparseTensorIndexCOO(
223 ::flatbuffers::FlatBufferBuilder &_fbb,
224 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Int> indicesType = 0,
225 ::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> indicesStrides = 0,
226 const org::apache::arrow::flatbuf::Buffer *indicesBuffer = nullptr,
227 bool isCanonical = false) {
228 SparseTensorIndexCOOBuilder builder_(_fbb);
229 builder_.add_indicesBuffer(indicesBuffer);
230 builder_.add_indicesStrides(indicesStrides);
231 builder_.add_indicesType(indicesType);
232 builder_.add_isCanonical(isCanonical);
233 return builder_.Finish();
234}
235
236inline ::flatbuffers::Offset<SparseTensorIndexCOO> CreateSparseTensorIndexCOODirect(
237 ::flatbuffers::FlatBufferBuilder &_fbb,

Callers 2

MakeSparseTensorIndexCOOFunction · 0.85

Calls 5

add_indicesStridesMethod · 0.80
add_isCanonicalMethod · 0.80
add_indicesBufferMethod · 0.45
add_indicesTypeMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected