提交 1fb8960b authored 作者: Frederic's avatar Frederic

Fix display of the doc of prod()

上级 218e03c5
...@@ -816,8 +816,7 @@ Reductions ...@@ -816,8 +816,7 @@ Reductions
* an *int* - computed along this axis * an *int* - computed along this axis
* a *list of ints* - computed along these axes * a *list of ints* - computed along these axes
.. function:: prod(x, axis=None, dtype=None, keepdims=False, acc_dtype=None, .. function:: prod(x, axis=None, dtype=None, keepdims=False, acc_dtype=None, no_zeros_in_input=False)
no_zeros_in_input=False)
:Parameter: *x* - symbolic Tensor (or compatible) :Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis or axes along which to compute the product :Parameter: *axis* - axis or axes along which to compute the product
...@@ -857,8 +856,8 @@ Reductions ...@@ -857,8 +856,8 @@ Reductions
some small speed up and allow second derivative set some small speed up and allow second derivative set
``no_zeros_in_inputs`` to ``True``. It default to ``False``. ``no_zeros_in_inputs`` to ``True``. It default to ``False``.
It is the user responsability to make sure there is no zeros **It is the user responsability to make sure there is no zeros
in the inputs. If there is, the grad will be wrong. in the inputs. If there is, the grad will be wrong.**
:Returns: product of every term in *x* along *axis* :Returns: product of every term in *x* along *axis*
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论