Skip to content

Commit 670b5ca

Browse files
committed
Fix tuple constructor in BaseCorrMM
1 parent 093665d commit 670b5ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/tensor/nnet/corr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def make_node(self, img, kern):
692692
if kern.type.ndim != 4:
693693
raise TypeError("kern must be 4D tensor")
694694

695-
out_shape = tuple(
695+
out_shape = (
696696
1 if img.type.shape[0] == 1 else None,
697697
1 if kern.type.shape[0] == 1 else None,
698698
None,

0 commit comments

Comments
 (0)