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

Method registerGeometryComputer

source/geometry/GeometryComputer.cpp:453–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451
452GeometryComputerManager* GeometryComputerManager::gInstance;
453void GeometryComputer::registerGeometryComputer(std::shared_ptr<GeometryComputer> comp, std::vector<int> type, Runtime::CompilerType compType) {
454 auto ins = GeometryComputerManager::get();
455 for (auto t : type) {
456 ins->insert(comp, t, compType);
457 }
458}
459void GeometryComputer::init() {
460 if (nullptr == GeometryComputerManager::get()) {
461 GeometryComputerManager::init();

Callers

nothing calls this directly

Calls 2

getFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected