[CodeStyle][F821] fix test_exception in test_unpool3d_op and test_unpool_op (#47756)
* [Fix][F821] fix TestUnpoolOpException * fix TestUnpoolOpException * fix TestUnpool3DOpException * remove unused variables * fix the regexp does not match the C++ traceback * add missing error message for gpu unpool_kernel * Revert "add missing error message for gpu unpool_kernel" This reverts commit 17ef7a127e1c3ee00f9102c37ad8cea35953f20c. * assertion indices_value_error errors are only reported on the CPU * for test * run test_exception in dygraph mode
Showing
想要评论请 注册 或 登录