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 e6437cc commit c3a3e1aCopy full SHA for c3a3e1a
pytensor/link/mlx/dispatch/math.py
@@ -198,14 +198,14 @@ def neg(x):
198
return neg
199
elif isinstance(op.scalar_op, AND):
200
201
- def all(x):
202
- return x.all(axis=op.axis)
+ def all(x, y):
+ return mx.bitwise_and(x, y)
203
204
return all
205
elif isinstance(op.scalar_op, OR):
206
207
- def any(x):
208
- return mx.any(x, axis=op.axis)
+ def any(x, y):
+ return mx.bitwise_or(x, y)
209
210
return any
211
elif isinstance(op.scalar_op, ScalarMaximum):
0 commit comments