提交 e3dbce4a 编写于 作者: X Xiaoda 提交者: Gitee

update tutorials/source_en/advanced_use/mixed_precision.md.

Change the English version text of mixed_precision.
上级 f7791d33
......@@ -86,7 +86,7 @@ net_with_loss = WithLossCell(net, loss)
train_network = amp.build_train_network(net_with_loss, optimizer, level="O2")
# Run training
output = train_network(inputs, label, scaling_sens)
output = train_network(predict, label, scaling_sens)
```
......@@ -143,5 +143,5 @@ net_with_loss = WithLossCell(net, loss)
train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer)
# Run training
output = train_network(inputs, label, scaling_sens)
output = train_network(predict, label, scaling_sens)
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册