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

Method clone

tools/train/source/nn/NN.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 DropoutModule() = default;
68
69 Module* clone(CloneContext* ctx) const override {
70 DropoutModule* module(new DropoutModule);
71 module->mDropRatio = mDropRatio;
72 return this->cloneBaseTo(ctx, module);
73 }
74
75 float mDropRatio;
76};

Callers

nothing calls this directly

Calls 1

cloneBaseToMethod · 0.80

Tested by

no test coverage detected