Skip to content

Commit 8f514ac

Browse files
committed
.wip
1 parent c8f5650 commit 8f514ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytensor/tensor/rewriting/numba.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def introduce_explicit_core_shape_blockwise(fgraph, node):
5353
# ← dirichlet_rv{"(a)->(a)"}.1 [id F]
5454
# └─ ···
5555
"""
56-
op: Blockwise = node.op # type: ignore[annotation-unchecked]
56+
op: Blockwise = node.op
5757
batch_ndim = op.batch_ndim(node)
5858

5959
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):
6363
for out in node.outputs
6464
]
6565
else:
66+
# input_shape = op.infer_shape(None, node, input_shapes)
6667
raise ValueError
6768
core_shapes = op._supp_shape_from_params(op.dist_params(node))
6869

0 commit comments

Comments
 (0)