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

Function getCurrentType

test/TestUtils.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90MNNForwardType getCurrentType() {
91 auto attr = MNN::Express::ExecutorScope::Current()->getAttr();
92 return attr->firstType;
93}
94
95std::shared_ptr<MNN::Express::Executor> cloneCurrentExecutor() {
96 auto attr = MNN::Express::ExecutorScope::Current()->getAttr();

Callers 10

cloneCurrentExecutorFunction · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls 1

getAttrMethod · 0.45

Tested by

no test coverage detected