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 870b900 commit c161452Copy full SHA for c161452
pytensor/tensor/utils.py
@@ -239,11 +239,7 @@ def _gufunc_to_out_shape(
239
# Prefer constants
240
elif not isinstance(prev_size, Constant):
241
dim_to_size[dim_name] = size
242
- elif prev_size.data != size:
243
- raise ValueError(
244
- f"Invalid signature {signature} for shapes {shapes}. "
245
- f"Dimension {dim_name} is not consistent across inputs."
246
- )
+
247
out_shapes = []
248
for output_shape in output_sig:
249
temp_list = []
0 commit comments