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

Function make_forward_graph

imperative/src/impl/ops/utility.cpp:279–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277namespace subgraph {
278
279EncodedSubgraph make_forward_graph(
280 const OpDef& def, SmallVector<LogicalTensorDesc> inputs) {
281 return EncodedSubgraph::make(*def.cast_final_safe<SubgraphOp>().graph);
282}
283
284EncodedSubgraph make_backward_graph(
285 const OpDef& def, const SmallVector<LogicalTensorDesc>& inputs,

Callers 2

make_backward_graphFunction · 0.85
do_apply_opMethod · 0.85

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected