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

Method computeOutput

codegen/SourceModule.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 mUsed.insert(t);
50 }
51 void computeOutput() {
52 mOutputs.clear();
53 for (auto& iter : mVarMap) {
54 if (mUsed.find(iter.first) == mUsed.end()) {
55 mOutputs.push_back(const_cast<Tensor*>(iter.first));
56 }
57 }
58 }
59 InOutTensors getIOTensors() {
60 return { mInputs, mOutputs };
61 }

Callers 1

buildKernelMethod · 0.80

Calls 4

clearMethod · 0.45
findMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected