[Dy2stat]Allow users to switch eval/train mode when using @to_static to...
[Dy2stat]Allow users to switch eval/train mode when using @to_static to decorate a function (#37383) * Allow users to switch eval/train mode when using @to_static to decorate a function * refine code for train() and eval()
Showing
想要评论请 注册 或 登录