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:
@@ -34,7 +34,7 @@ bool is_unary(const Primitive& p) {
|
||||
typeid(p) == typeid(Square) || typeid(p) == typeid(Sqrt) ||
|
||||
typeid(p) == typeid(Tan) || typeid(p) == typeid(Tanh) ||
|
||||
typeid(p) == typeid(Expm1) || typeid(p) == typeid(Real) ||
|
||||
typeid(p) == typeid(Imag));
|
||||
typeid(p) == typeid(Imag) || typeid(p) == typeid(BitwiseInvert));
|
||||
}
|
||||
|
||||
bool is_binary(const Primitive& p) {
|
||||
|
||||
Reference in New Issue
Block a user