Skip to content

Commit a6a1dce

Browse files
michaelosthegetwiecki
authored andcommitted
Move third party imports to the top
1 parent 73e76d3 commit a6a1dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import numpy as np
3939
import scipy.sparse as sps
4040

41+
from aesara.compile.mode import Mode, get_mode
4142
from aesara.compile.sharedvalue import SharedVariable
4243
from aesara.graph.basic import Constant, Variable, graph_inputs
4344
from aesara.graph.fg import FunctionGraph
@@ -955,7 +956,6 @@ def set_initval(self, rv_var, initval):
955956
if initval is None or transform:
956957
# Sample/evaluate this using the existing initial values, and
957958
# with the least effect on the RNGs involved (i.e. no in-placing)
958-
from aesara.compile.mode import Mode, get_mode
959959

960960
mode = get_mode(None)
961961
opt_qry = mode.provided_optimizer.excluding("random_make_inplace")

0 commit comments

Comments
 (0)