提交 44209694 编写于 作者: J JZ-LIANG

revise example code for lars and amp

上级 f68fc2fb
......@@ -93,6 +93,7 @@ DistributedStrategy
**示例代码**
.. code-block:: python
import paddle.distributed.fleet as fleet
strategy = fleet.DistributedStrategy()
strategy.lars = True
......@@ -122,6 +123,7 @@ DistributedStrategy
**示例代码**
.. code-block:: python
import paddle.distributed.fleet as fleet
strategy = fleet.DistributedStrategy()
strategy.lamb = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册