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

Method update

src/core/impl/graph/cg_impl.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void ComputingGraph::Options::GraphOpt::JITConfig::update(const JITConfig& modifier) {
147 if (modifier.fuse_dimshuffle != UNSET) {
148 this->fuse_dimshuffle = modifier.fuse_dimshuffle;
149 }
150 if (modifier.fuse_reduce != UNSET) {
151 this->fuse_reduce = modifier.fuse_reduce;
152 }
153}
154
155/* ========================== CallbackCaller ========================== */
156MGB_DEFINE_OPR_CLASS(

Callers 4

TESTFunction · 0.45
hashMethod · 0.45
performMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36