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.
normalize_axis_tuple
1 parent 4814705 commit 630bbafCopy full SHA for 630bbaf
pymc/distributions/transforms.py
@@ -18,11 +18,8 @@
18
import numpy as np
19
import pytensor.tensor as pt
20
21
-
22
-# ignore mypy error because it somehow considers that
23
-# "numpy.core.numeric has no attribute normalize_axis_tuple"
24
-from numpy.core.numeric import normalize_axis_tuple # type: ignore[attr-defined]
25
from pytensor.graph import Op
+from pytensor.npy_2_compat import normalize_axis_tuple
26
from pytensor.tensor import TensorVariable
27
28
from pymc.logprob.transforms import (
0 commit comments