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

Method addOutput

codegen/SourceModule.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 return name;
36 }
37 std::string addOutput(const Tensor* t) {
38 std::string name = "output_" + std::to_string(mOutputIdx++);
39 mIOMap.insert(std::make_pair(t, name));
40 return name;
41 }
42 std::string getVar(const Tensor* t) {
43 return mVarMap[t];
44 }

Callers 2

FuseListUnpackFunction · 0.80
buildKernelMethod · 0.80

Calls 2

to_stringFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected