Skip to content

Commit a19cbc8

Browse files
committed
Another push small
1 parent ac93949 commit a19cbc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytensor/link/mlx/dispatch/elemwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def prod(x):
3939
elif isinstance(op.scalar_op, AND):
4040

4141
def all(x):
42-
return mx.all(x, axis=op.axis)
42+
return mx.all(a=x, axis=op.axis)
4343

4444
return all
4545
elif isinstance(op.scalar_op, OR):

pytensor/link/mlx/dispatch/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def neg(x):
199199
elif isinstance(op.scalar_op, AND):
200200

201201
def all(x):
202-
return mx.all(x)
202+
return mx.all(a=x, axis=op.axis)
203203

204204
return all
205205
elif isinstance(op.scalar_op, OR):

0 commit comments

Comments
 (0)