MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / reg_all

Method reg_all

src/opr/impl/loop/grad_sereg.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31} // namespace mgb
32
33void LoopGradSerializer::reg_all() {
34#define REG(_opr) MGB_REG_OPR_SHALLOW_COPY_IMPL(_opr, wrap_shallow_copy<_opr>)
35
36 REG(LoopGrad);
37 REG(LoopGrad::AssignorGradOpr);
38 REG(LoopImpl::DepTensorUpdator);
39
40#undef REG
41}
42
43void LoopGradSerializerReg::entry() {
44 LoopGradSerializer::reg_all();

Callers

nothing calls this directly

Calls 1

REGFunction · 0.85

Tested by

no test coverage detected