Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
namespace {
Callers
15
init_tensor
Function · 0.45
matrix_mul_grad_rule
Function · 0.45
batched_matrix_mul_grad_rule
Function · 0.45
elemwise_grad_rule
Function · 0.45
reshape_grad_rule
Function · 0.45
broadcast_grad_rule
Function · 0.45
subtensor_grad_rule
Function · 0.45
indexingMultiAxisVec_grad_rule
Function · 0.45
reduce_grad_rule
Function · 0.45
addAxis_grad_rule
Function · 0.45
removeAxis_grad_rule
Function · 0.45
pixelShuffle_grad_rule
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected