【Eager】Fix error raise (#51963)
* allow return none when stop_gradient=True * remove useless code * refine code * refine code * fix test cast * change more test * add more tests * fix error msg in pylayer
Showing
想要评论请 注册 或 登录
* allow return none when stop_gradient=True * remove useless code * refine code * refine code * fix test cast * change more test * add more tests * fix error msg in pylayer