[Dy2stat] Reduce Exception Type for Better Error Message (#29268) (#29363)
Reduce exception type so that if covert_to_static failed, it reports right error message.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
Reduce exception type so that if covert_to_static failed, it reports right error message.