未验证 提交 45fb357b 编写于 作者: X Xin Pan 提交者: GitHub

Merge pull request #14456 from tink2123/fix_weightaverage

fix the wrong format
...@@ -48,6 +48,7 @@ class WeightedAverage(object): ...@@ -48,6 +48,7 @@ class WeightedAverage(object):
Examples: Examples:
.. code-block:: python .. code-block:: python
avg = fluid.average.WeightedAverage() avg = fluid.average.WeightedAverage()
avg.add(value=2.0, weight=1) avg.add(value=2.0, weight=1)
avg.add(value=4.0, weight=2) avg.add(value=4.0, weight=2)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册