MCPcopy Create free account
hub / github.com/alibaba/MNN / CreateSparseCommon

Function CreateSparseCommon

schema/current/CaffeOp_generated.h:950–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948};
949
950inline flatbuffers::Offset<SparseCommon> CreateSparseCommon(
951 flatbuffers::FlatBufferBuilder &_fbb,
952 SparseAlgo method = SparseAlgo_RANDOM,
953 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<Attribute>>> args = 0) {
954 SparseCommonBuilder builder_(_fbb);
955 builder_.add_args(args);
956 builder_.add_method(method);
957 return builder_.Finish();
958}
959
960flatbuffers::Offset<SparseCommon> CreateSparseCommon(flatbuffers::FlatBufferBuilder &_fbb, const SparseCommonT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
961

Callers 6

initializeMethod · 0.85
AddSparseInfoFunction · 0.85
_ConvFunction · 0.85
_ConvFunction · 0.85
PackMethod · 0.85
CreateConvolution2DFunction · 0.85

Calls 6

CreateAttributeFunction · 0.85
add_argsMethod · 0.80
add_methodMethod · 0.45
FinishMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45

Tested by 2

_ConvFunction · 0.68
_ConvFunction · 0.68