mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Add conjugate operator (#1100)
* cpu and gpu impl * add mx.conj and array.conj() --------- Co-authored-by: Alex Barron <abarron22@apple.com>
This commit is contained in:
@@ -1239,6 +1239,8 @@ array number_of_elements(
|
||||
Dtype dtype = int32,
|
||||
StreamOrDevice s = {});
|
||||
|
||||
array conjugate(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** Bitwise and. */
|
||||
array bitwise_and(const array& a, const array& b, StreamOrDevice s = {});
|
||||
array operator&(const array& a, const array& b);
|
||||
|
||||
Reference in New Issue
Block a user