5252 local_rv_size_lift ,
5353)
5454
55- from pymc .logprob .abstract import MeasurableOp , MeasurableOpMixin , _logprob , _logprob_helper
55+ from pymc .logprob .abstract import MeasurableOp , _logprob , _logprob_helper
5656from pymc .logprob .rewriting import (
5757 PreserveRVMappings ,
5858 assume_measured_ir_outputs ,
@@ -124,7 +124,7 @@ def naive_bcast_rv_lift(fgraph: FunctionGraph, node):
124124 return [bcasted_node .outputs [1 ]]
125125
126126
127- class MeasurableMakeVector (MeasurableOpMixin , MakeVector ):
127+ class MeasurableMakeVector (MeasurableOp , MakeVector ):
128128 """A placeholder used to specify a log-likelihood for a cumsum sub-graph."""
129129
130130
@@ -148,7 +148,7 @@ def logprob_make_vector(op, values, *base_rvs, **kwargs):
148148 return pt .stack (logps )
149149
150150
151- class MeasurableJoin (MeasurableOpMixin , Join ):
151+ class MeasurableJoin (MeasurableOp , Join ):
152152 """A placeholder used to specify a log-likelihood for a join sub-graph."""
153153
154154
@@ -228,7 +228,7 @@ def find_measurable_stacks(fgraph, node) -> list[TensorVariable] | None:
228228 return [measurable_stack ]
229229
230230
231- class MeasurableDimShuffle (MeasurableOpMixin , DimShuffle ):
231+ class MeasurableDimShuffle (MeasurableOp , DimShuffle ):
232232 """A placeholder used to specify a log-likelihood for a dimshuffle sub-graph."""
233233
234234 # Need to get the absolute path of `c_func_file`, otherwise it tries to
0 commit comments