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

Method insert

source/geometry/GeometryComputer.cpp:438–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 return gInstance;
437 }
438 void insert(std::shared_ptr<GeometryComputer> c, int type, Runtime::CompilerType compType) {
439 if (Runtime::Compiler_Geometry == compType) {
440 mTable[type] = c;
441 } else if (Runtime::Compiler_Loop == compType) {
442 mLoopTable[type] = c;
443 }
444 }
445private:
446 std::vector<std::shared_ptr<GeometryComputer>> mTable;
447 std::vector<std::shared_ptr<GeometryComputer>> mLoopTable;

Callers 7

_ComputeLSTMOnnxMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45
buildGatherNDMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected