Skip to content

Commit fedd5c5

Browse files
committed
Used tensor_like in the normal distribution docstring
1 parent 03ee596 commit fedd5c5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pymc/distributions/continuous.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,12 @@ class Normal(Continuous):
525525
526526
Parameters
527527
----------
528-
mu : float or array_like or TensorVariable, default 0
528+
mu : tensor_like of float, default 0
529529
Mean.
530-
sigma : float or array_like or TensorVariable, optional
530+
sigma : tensor_like of float, optional
531531
Standard deviation (sigma > 0) (only required if tau is not specified).
532532
Defaults to 1 if neither sigma nor tau is specified.
533-
tau : float or array_like or TensorVariable, optional
533+
tau : tensor_like of float, optional
534534
Precision (tau > 0) (only required if sigma is not specified).
535535
Defaults to 1 if neither sigma nor tau is specified.
536536
@@ -576,12 +576,12 @@ def logcdf(value, mu, sigma):
576576
577577
Parameters
578578
----------
579-
value : float or ndarray or TensorVariable
579+
value : tensor_like of float
580580
Value(s) for which log CDF is calculated. If the log CDF for multiple
581581
values are desired the values must be provided in a numpy array or `TensorVariable`.
582-
mu : float or array_like or TensorVariable
583-
Mean. Defaults to 0.
584-
sigma : float or array_like or TensorVariable
582+
mu : tensor_like of float
583+
Mean.
584+
sigma : tensor_like of float
585585
Standard deviation (sigma > 0).
586586
587587
Returns

0 commit comments

Comments
 (0)