Closed SiriusNEO closed 1 year ago
This PR contains two quick fixes for current gradient mechanism. First, it fixes the type of the attribute te_grad_bind_handler (use a cast from dict to tvm Map). Second, we ignore the ExternOp when VisitingBinding in the Gradient pass.
te_grad_bind_handler
VisitingBinding
This PR contains two quick fixes for current gradient mechanism. First, it fixes the type of the attribute
te_grad_bind_handler
(use a cast from dict to tvm Map). Second, we ignore the ExternOp whenVisitingBinding
in the Gradient pass.