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

Method finalize

imperative/python/src/grad_override.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return *this;
49 }
50 void finalize() {
51 mgb_assert(output_size_set);
52 init_input_has_grad();
53 }
54};
55
56namespace {

Callers 15

init_tensorFunction · 0.45
matrix_mul_grad_ruleFunction · 0.45
elemwise_grad_ruleFunction · 0.45
reshape_grad_ruleFunction · 0.45
broadcast_grad_ruleFunction · 0.45
subtensor_grad_ruleFunction · 0.45
reduce_grad_ruleFunction · 0.45
addAxis_grad_ruleFunction · 0.45
removeAxis_grad_ruleFunction · 0.45
pixelShuffle_grad_ruleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected