mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Bitwise Inverse (#1862)
* add bitwise inverse * add vmap + fix nojit * inverse -> invert * add to compile + remove unused
This commit is contained in:
@@ -1476,6 +1476,10 @@ array operator<<(const array& a, const array& b);
|
||||
array right_shift(const array& a, const array& b, StreamOrDevice s = {});
|
||||
array operator>>(const array& a, const array& b);
|
||||
|
||||
/** Invert the bits. */
|
||||
array bitwise_invert(const array& a, StreamOrDevice s = {});
|
||||
array operator~(const array& a);
|
||||
|
||||
array view(const array& a, const Dtype& dtype, StreamOrDevice s = {});
|
||||
|
||||
/** Roll elements along an axis and introduce them on the other side */
|
||||
|
||||
Reference in New Issue
Block a user