diff --git a/numpyro/distributions/mixtures.py b/numpyro/distributions/mixtures.py index c6631f0d9..b4803a3ba 100644 --- a/numpyro/distributions/mixtures.py +++ b/numpyro/distributions/mixtures.py @@ -80,6 +80,10 @@ def component_sample( def component_cdf(self, samples: ArrayLike) -> ArrayLike: raise NotImplementedError + @property + def has_rsample(self) -> bool: + return False + @property def mixture_size(self) -> int: """The number of components in the mixture"""