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

Function make_backward_graph

imperative/src/impl/proxy_graph_detail.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace proxy_graph_detail {
8
9EncodedSubgraph make_backward_graph(
10 const OpDef& def, const SmallVector<LogicalTensorDesc>& inputs,
11 const SmallVector<bool>& input_requires_grad,
12 const SmallVector<bool>& output_has_grad) {
13 return ProxyGraph::get_default_graph()->make_backward_graph(
14 def, inputs, input_requires_grad, output_has_grad);
15}
16
17} // namespace proxy_graph_detail
18} // namespace imperative

Callers

nothing calls this directly

Calls 1

make_backward_graphMethod · 0.45

Tested by

no test coverage detected