52
52
local_rv_size_lift ,
53
53
)
54
54
55
- from pymc .logprob .abstract import MeasurableOp , MeasurableOpMixin , _logprob , _logprob_helper
55
+ from pymc .logprob .abstract import MeasurableOp , _logprob , _logprob_helper
56
56
from pymc .logprob .rewriting import (
57
57
PreserveRVMappings ,
58
58
assume_measured_ir_outputs ,
@@ -124,7 +124,7 @@ def naive_bcast_rv_lift(fgraph: FunctionGraph, node):
124
124
return [bcasted_node .outputs [1 ]]
125
125
126
126
127
- class MeasurableMakeVector (MeasurableOpMixin , MakeVector ):
127
+ class MeasurableMakeVector (MeasurableOp , MakeVector ):
128
128
"""A placeholder used to specify a log-likelihood for a cumsum sub-graph."""
129
129
130
130
@@ -148,7 +148,7 @@ def logprob_make_vector(op, values, *base_rvs, **kwargs):
148
148
return pt .stack (logps )
149
149
150
150
151
- class MeasurableJoin (MeasurableOpMixin , Join ):
151
+ class MeasurableJoin (MeasurableOp , Join ):
152
152
"""A placeholder used to specify a log-likelihood for a join sub-graph."""
153
153
154
154
@@ -228,7 +228,7 @@ def find_measurable_stacks(fgraph, node) -> list[TensorVariable] | None:
228
228
return [measurable_stack ]
229
229
230
230
231
- class MeasurableDimShuffle (MeasurableOpMixin , DimShuffle ):
231
+ class MeasurableDimShuffle (MeasurableOp , DimShuffle ):
232
232
"""A placeholder used to specify a log-likelihood for a dimshuffle sub-graph."""
233
233
234
234
# Need to get the absolute path of `c_func_file`, otherwise it tries to
0 commit comments