Skip to content

Commit

Permalink
numpy docstring standards
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Oct 27, 2022
1 parent b3ca27d commit 7e19350
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions pymc/aesaraf.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,27 +546,27 @@ def join_nonshared_inputs(
Parameters
----------
point: dict of {str : array_like}
point : Point
Dictionary that maps each input variable name to a numerical variable. The values
are used to extract the shape of each input variable to establish a correct
mapping between joined and original inputs. The shape of each variable is
assumed to be fixed.
outputs: list of TensorVariable
outputs : list of TensorVariable
List of output TensorVariables whose non-shared inputs will be replaced
by a joined vector input.
inputs: list of TensorVariable
inputs : list of TensorVariable
List of input TensorVariables which will be replaced by a joined vector input.
shared_inputs: dict of {TensorVariable : TensorSharedVariable}, optional
shared_inputs : dict of {TensorVariable : TensorSharedVariable}, optional
Dict of TensorVariable and their associated TensorSharedVariable in
subgraph replacement.
make_inputs_shared: bool, defaults to False
make_inputs_shared : bool, default False
Whether to make the joined vector input a shared variable.
Returns
-------
new_outputs: list of TensorVariable
new_outputs : list of TensorVariable
List of new outputs `outputs` TensorVariables that depend on `joined_inputs` and new shared variables as inputs.
joined_inputs: TensorVariable
joined_inputs : TensorVariable
Joined input vector TensorVariable for the `new_outputs`
Examples
Expand Down
6 changes: 3 additions & 3 deletions pymc/smc/smc.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,11 @@ def _logp_forw(point, out_vars, in_vars, shared):
Parameters
----------
out_vars: List
out_vars : list
containing :class:`pymc.Distribution` for the output variables
in_vars: List
in_vars : list
containing :class:`pymc.Distribution` for the input variables
shared: List
shared : list
containing :class:`aesara.tensor.Tensor` for depended shared data
"""

Expand Down

0 comments on commit 7e19350

Please sign in to comment.