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

Function operator|

mlx/ops.cpp:6235–6237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6233 return bitwise_impl(a, b, BitwiseBinary::Op::Or, "bitwise_or", s);
6234}
6235array operator|(const array& a, const array& b) {
6236 return bitwise_or(a, b);
6237}
6238
6239array bitwise_xor(const array& a, const array& b, StreamOrDevice s /* = {} */) {
6240 return bitwise_impl(a, b, BitwiseBinary::Op::Xor, "bitwise_xor", s);

Callers

nothing calls this directly

Calls 1

bitwise_orFunction · 0.85

Tested by

no test coverage detected