refactor: build_train_func & build_eval_func
1. rm engine.device and use paddle.device.get_device() instead; 2. mv some code to build_train_func or build_eval_func to simpfy engine.
Showing
想要评论请 注册 或 登录
1. rm engine.device and use paddle.device.get_device() instead; 2. mv some code to build_train_func or build_eval_func to simpfy engine.