MCPcopy Create free account
hub / github.com/ml-explore/mlx / bitwise

Method bitwise

python/tests/test_ops.py:2871–2872  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2869 cotangent = mx.array(cotangent)
2870
2871 def bitwise(a, b):
2872 return a.astype(mx.int32) & b.astype(mx.int32)
2873
2874 _, vjps = mx.vjp(bitwise, [a, b], [cotangent])
2875 for vjp in vjps:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected