Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvm committed Jan 15, 2015
1 parent 37b5b1a commit 99e10a6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions blocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def graph_inputs(variables, blockers=None):
"""Compute inputs needed to compute values in variables.
This function is similar to :meth:`theano.gof.graph.inputs`. However,
it doesn't tread shared and constant values as inputs.
it doesn't treat shared and constant values as inputs.
Parameters
----------
Expand All @@ -257,9 +257,11 @@ def graph_inputs(variables, blockers=None):
blockers : list of theano variables
See :meth:`theano.gof.graph.inputs` for documentation.
Returns:
list of theano variables which are non-constant and non-shared
inputs to the computational graph.
Returns
-------
list
Theano variables which are non-constant and non-shared inputs to
the computational graph.
"""
inps = theano.gof.graph.inputs(variables, blockers=blockers)
Expand Down

0 comments on commit 99e10a6

Please sign in to comment.