Created by: liym27
PR types
Others
PR changes
Others
Describe
Modify the error message in _dygraph_only_
:
- imperative mode -> dynamic mode
- fluid.dygraph.guard() -> paddle.disable_static()
because Paddle 2.0 will replace imperative
with dynamic
and replace fluid.dygraph.guard()
with paddle.disable_static()
.