We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec222e2 commit 9444946Copy full SHA for 9444946
pymc/distributions/shape_utils.py
@@ -416,7 +416,6 @@ def get_support_shape(
416
if len(dims) < ndim_supp:
417
raise ValueError(f"Number of dims is too small for ndim_supp of {ndim_supp}")
418
from pymc.model.core import modelcontext
419
-
420
model = modelcontext(None)
421
inferred_support_shape = [
422
model.dim_lengths[dims[i]] - support_shape_offset[i] for i in range(-ndim_supp, 0)
0 commit comments