File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010from scipy .optimize import root_scalar as scipy_root_scalar
1111
1212import pytensor .scalar as ps
13- from pytensor import Variable , function , graph_replace
13+ from pytensor . compile . function import function
1414from pytensor .gradient import grad , hessian , jacobian
1515from pytensor .graph import Apply , Constant , FunctionGraph
1616from pytensor .graph .basic import ancestors , truncated_graph_inputs
1717from pytensor .graph .op import ComputeMapType , HasInnerGraph , Op , StorageMapType
18+ from pytensor .graph .replace import graph_replace
1819from pytensor .tensor .basic import (
1920 atleast_2d ,
2021 concatenate ,
2425)
2526from pytensor .tensor .math import dot
2627from pytensor .tensor .slinalg import solve
27- from pytensor .tensor .variable import TensorVariable
28+ from pytensor .tensor .variable import TensorVariable , Variable
2829
2930
3031_log = logging .getLogger (__name__ )
You can’t perform that action at this time.
0 commit comments