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

Method graph_eager

src/core/test/graph/eager_eval.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20protected:
21 auto graph_eager() {
22 if (!m_graph_eager) {
23 m_graph_eager = ComputingGraph::make();
24 m_graph_eager->options().eager_evaluation = true;
25 }
26 return m_graph_eager.get();
27 }
28 void make_graph_normal(
29 const SmallVector<std::shared_ptr<HostTensorND>>& inputs,
30 const thin_function<SymbolVarArray(const SymbolVarArray&)>& make_graph,

Callers

nothing calls this directly

Calls 2

makeFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected