Skip to content

Commit f7a012f

Browse files
committed
Add reference to pm.Data in pm.ConstantData and pm.MutableData
1 parent 1c15770 commit f7a012f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pymc/data.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ def ConstantData(
516516
) -> TensorConstant:
517517
"""Alias for ``pm.Data(..., mutable=False)``.
518518
519-
Registers the ``value`` as a ``TensorConstant`` with the model.
519+
Registers the ``value`` as a :class:`~aesara.tensor.TensorConstant` with the model.
520+
For more information, please reference :class:`pymc.Data`.
520521
"""
521522
return Data(
522523
name,
@@ -538,7 +539,8 @@ def MutableData(
538539
) -> SharedVariable:
539540
"""Alias for ``pm.Data(..., mutable=True)``.
540541
541-
Registers the ``value`` as a ``SharedVariable`` with the model.
542+
Registers the ``value`` as a :class:`~aesara.compile.sharedvalue.SharedVariable`
543+
with the model. For more information, please reference :class:`pymc.Data`.
542544
"""
543545
return Data(
544546
name,

0 commit comments

Comments
 (0)