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

Method enabled

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

Source from the content-addressed store, hash-verified

136/* ========================== JITConfig ========================== */
137
138bool ComputingGraph::Options::GraphOpt::JITConfig::enabled() const {
139 if (fuse_dimshuffle != UNSET)
140 return true;
141 if (fuse_reduce != UNSET)
142 return true;
143 return false;
144}
145
146void ComputingGraph::Options::GraphOpt::JITConfig::update(const JITConfig& modifier) {
147 if (modifier.fuse_dimshuffle != UNSET) {

Callers 13

setup_input_checkerMethod · 0.45
gradMethod · 0.45
fwd_in2out_readonlyMethod · 0.45
executeMethod · 0.45
performMethod · 0.45
run_task_seq_implMethod · 0.45
compile_prepareMethod · 0.45
makeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected