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

Method clear

source/geometry/GeometryComputer.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void GeometryComputer::Context::clear() {
36 mTempConstTensors.clear();
37}
38const std::vector<std::shared_ptr<Tensor>>& GeometryComputer::Context::searchConst(const Op* op) {
39 auto iter = mConstTensors.find(op);
40 if (iter == mConstTensors.end()) {

Callers 15

setProgramMethod · 0.45
initTensorsFunction · 0.45
broadcasttoMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45
_ComputeLSTMOnnxMethod · 0.45
onRecomputeMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45
onComputeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected