Skip to content

Commit 4e4923f

Browse files
committed
RETURN, WHAT A SHAME! Sad times are coming.
1 parent 37440ff commit 4e4923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/mlx/dispatch/blockwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def inner_f(x, kernel):
3636
kernel_reshaped = mx.broadcast_to(kernel_squeeze[:, :, None], shape=(b_prod, h, b_prod))
3737
conv_result = mx.conv1d(x_reshaped[None, :, :], kernel_reshaped, stride=1, padding=0, dilation=1)
3838
_, conv_shape, _ = conv_result.shape
39-
mx.moveaxis(conv_result, source=-1, destination=0).reshape(b + (conv_shape,))
39+
return mx.moveaxis(conv_result, source=-1, destination=0).reshape(b + (conv_shape,))
4040
return inner_f
4141

4242
@mlx_funcify.register(Blockwise)

0 commit comments

Comments
 (0)