[Eager grad] Refactor partial grad logic (#40693)
* Refactor partial_grad/backward logic * Add DuplicateCheck and polish code * Refactor partial_grad/backward more clearly * Refactor GeneralGrad by SingleInstance
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* Refactor partial_grad/backward logic * Add DuplicateCheck and polish code * Refactor partial_grad/backward more clearly * Refactor GeneralGrad by SingleInstance