提交 17146f0c authored 作者: serdyuk's avatar serdyuk

Added information about gradient computation

上级 4e81ebac
......@@ -88,7 +88,11 @@
.. note:: Currently, the function doesn't support tensors created with
`neib_step` different from default value. This means that it may be
impossible to compute the gradient of an error signal in this case.
impossible to compute the gradient of a variable gained by
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>` w.r.t.
its inputs in this case because it uses
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>` for
gradient computation.
Example:
......
......@@ -470,7 +470,11 @@ def neibs2images(neibs, neib_shape, original_shape, mode='valid'):
.. note:: Currently, the function doesn't support tensors created with
`neib_step` different from default value. This means that it may be
impossible to compute the gradient of an error signal in this case.
impossible to compute the gradient of a variable gained by
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>` w.r.t.
its inputs in this case because it uses
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>` for
gradient computation.
"""
neibs = T.as_tensor_variable(neibs)
neib_shape = T.as_tensor_variable(neib_shape)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论