support backward return None, when corresponding input tensor without gradient (#32494)
* support backward return None. * edit unittest. * edit code according to CI * Improve error information
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* support backward return None. * edit unittest. * edit code according to CI * Improve error information