提交 bfe8ecfc 编写于 作者: L Liu Yiqun

Fix blanks.

上级 2afe08ea
...@@ -2915,11 +2915,11 @@ def memory(name, ...@@ -2915,11 +2915,11 @@ def memory(name,
to specify the layer needs to be remembered as the following: to specify the layer needs to be remembered as the following:
.. code-block:: python .. code-block:: python
mem = memory(size=256) mem = memory(size=256)
state = fc_layer(input=mem, size=256) state = fc_layer(input=mem, size=256)
mem.set_input(mem) mem.set_input(mem)
:param name: the name of the layer which this memory remembers. :param name: the name of the layer which this memory remembers.
If name is None, user should call set_input() to specify the If name is None, user should call set_input() to specify the
name of the layer which this memory remembers. name of the layer which this memory remembers.
...@@ -3403,7 +3403,7 @@ def recurrent_group(step, ...@@ -3403,7 +3403,7 @@ def recurrent_group(step,
else, for training or testing, one of the input type must else, for training or testing, one of the input type must
be LayerOutput. be LayerOutput.
: type is_generating: bool :type is_generating: bool
:return: LayerOutput object. :return: LayerOutput object.
:rtype: LayerOutput :rtype: LayerOutput
...@@ -3810,7 +3810,7 @@ def mse_cost(input, label, weight=None, name=None, coeff=1.0, layer_attr=None): ...@@ -3810,7 +3810,7 @@ def mse_cost(input, label, weight=None, name=None, coeff=1.0, layer_attr=None):
.. math:: .. math::
\frac{1}{N}\sum_{i=1}^N(t_i-y_i)^2 \\frac{1}{N}\sum_{i=1}^N(t_i-y_i)^2
:param name: layer name. :param name: layer name.
:type name: basestring :type name: basestring
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册