提交 4c5755ca 编写于 作者: J Jeason Liu 提交者: Cheerego

Fix indent (#742)

* fix indent problem

* fix indent in english version
上级 ef2859af
......@@ -214,8 +214,8 @@ two_var = fluid.layers.fill_constant(
with fluid.layers.control_flow.Switch() as switch:
with switch.case(global_step == zero_var):
fluid.layers.tensor.assign(input=one_var, output=lr)
with switch.default():
fluid.layers.tensor.assign(input=two_var, output=lr)
with switch.default():
fluid.layers.tensor.assign(input=two_var, output=lr)
```
......
......@@ -218,8 +218,8 @@ two_var = fluid.layers.fill_constant(
with fluid.layers.control_flow.Switch() as switch:
with switch.case(global_step == zero_var):
fluid.layers.tensor.assign(input=one_var, output=lr)
with switch.default():
fluid.layers.tensor.assign(input=two_var, output=lr)
with switch.default():
fluid.layers.tensor.assign(input=two_var, output=lr)
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册