Skip to content

Commit

Permalink
Fixed punctuation, fixed #2166
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-serdyuk committed Nov 12, 2014
1 parent 3459219 commit 76062c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions theano/tensor/nnet/neighbours.py
Expand Up @@ -503,7 +503,7 @@ def images2neibs(ten4, neib_shape, neib_step=None, mode='valid'):
def neibs2images(neibs, neib_shape, original_shape, mode='valid'):
"""
Function :func:`neibs2images <theano.sandbox.neighbours.neibs2images>`
performs the inverse operation of
performs the inverse operation of
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>`. It inputs
the output of :func:`images2neibs <theano.sandbox.neigbours.neibs2images>`
and reconstructs its input.
Expand All @@ -523,12 +523,12 @@ def neibs2images(neibs, neib_shape, original_shape, mode='valid'):
`neib_step` different from default value. This means that it may be
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
its inputs in this case, because it uses
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>` for
gradient computation.
Example which uses a tensor gained in example for
Example, which uses a tensor gained in example for
:func:`images2neibs <theano.sandbox.neigbours.neibs2images>`:
.. code-block:: python
Expand Down

0 comments on commit 76062c3

Please sign in to comment.