We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f5650 commit 8f514acCopy full SHA for 8f514ac
pytensor/tensor/rewriting/numba.py
@@ -53,7 +53,7 @@ def introduce_explicit_core_shape_blockwise(fgraph, node):
53
# ← dirichlet_rv{"(a)->(a)"}.1 [id F]
54
# └─ ···
55
"""
56
- op: Blockwise = node.op # type: ignore[annotation-unchecked]
+ op: Blockwise = node.op
57
batch_ndim = op.batch_ndim(node)
58
59
shape_feature: ShapeFeature | None = getattr(fgraph, "shape_feature", None) # type: ignore[annotation-unchecked]
@@ -63,6 +63,7 @@ def introduce_explicit_core_shape_blockwise(fgraph, node):
63
for out in node.outputs
64
]
65
else:
66
+ # input_shape = op.infer_shape(None, node, input_shapes)
67
raise ValueError
68
core_shapes = op._supp_shape_from_params(op.dist_params(node))
69
0 commit comments