File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 22
22
from pytensor .tensor .variable import TensorConstant
23
23
from scipy .cluster .vq import kmeans
24
24
25
- # Avoid circular dependency when importing modelcontext
26
- from pymc .distributions .distribution import Distribution
27
- from pymc .model import modelcontext
25
+ from pymc .model .core import modelcontext
28
26
from pymc .pytensorf import compile_pymc
29
27
30
- _ = Distribution
31
-
32
28
JITTER_DEFAULT = 1e-6
33
29
34
30
Original file line number Diff line number Diff line change 48
48
49
49
from pymc .blocking import DictToArrayBijection , RaveledVars
50
50
from pymc .data import GenTensorVariable , is_minibatch
51
- from pymc .distributions .transforms import ChainedTransform , _default_transform
52
51
from pymc .exceptions import (
53
52
BlockModelAccessError ,
54
53
ImputationWarning ,
@@ -1452,6 +1451,7 @@ def create_value_var(
1452
1451
-------
1453
1452
TensorVariable
1454
1453
"""
1454
+ from pymc .distributions .transforms import ChainedTransform , _default_transform
1455
1455
1456
1456
# Make the value variable a transformed value variable,
1457
1457
# if there's an applicable transform
You can’t perform that action at this time.
0 commit comments