Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions numpyro/distributions/mixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down