提交 f00f72a8 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Some more precisions in the documentation.

上级 a81cce09
...@@ -495,7 +495,7 @@ dimensions, see :meth:`_tensor_py_operators.dimshuffle`. ...@@ -495,7 +495,7 @@ dimensions, see :meth:`_tensor_py_operators.dimshuffle`.
.. function:: shape(x) .. function:: shape(x)
Returns lvector representing shape of `x` Returns an lvector representing the shape of `x`.
.. function:: reshape(x, newshape, ndim=None) .. function:: reshape(x, newshape, ndim=None)
...@@ -553,7 +553,8 @@ dimensions, see :meth:`_tensor_py_operators.dimshuffle`. ...@@ -553,7 +553,8 @@ dimensions, see :meth:`_tensor_py_operators.dimshuffle`.
Make `x` broadcastable in the specified axes `axes`. For Make `x` broadcastable in the specified axes `axes`. For
example, `unbroadcast(x,0)` will make the first dimension of `x` example, `unbroadcast(x,0)` will make the first dimension of `x`
broadcastable. broadcastable. When performing the function, if the length of `x`
along that dimension is not 1, a ``ValueError`` will be raised.
.. function:: flatten(x, outdim=1) .. function:: flatten(x, outdim=1)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论