Skip to content

Commit 5c83a47

Browse files
committed
fix doc link and imports
1 parent 52a04e7 commit 5c83a47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pymc_experimental/model/model_api.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ def model(*model_args, **model_kwargs):
88
Decorator to provide context to PyMC models declared in a function.
99
This removes all need to think about context managers and lets you separate creating a generative model from using the model.
1010
11-
Inspired by the [sampled](https://github.com/colcarroll/sampled) decorator for PyMC3.
11+
Inspired by the `sampled <https://github.com/colcarroll/sampled>`_ decorator for PyMC3.
1212
1313
Examples
1414
--------
1515
.. code:: python
1616
17+
import pymc as pm
18+
import pymc_experimental as pmx
19+
1720
# The following are equivalent
1821
1922
# standard PyMC API with context manager

0 commit comments

Comments
 (0)