mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
@@ -1480,6 +1480,12 @@ array roll(
|
||||
const std::vector<int>& axes,
|
||||
StreamOrDevice s = {});
|
||||
|
||||
/* The real part of a complex array. */
|
||||
array real(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/* The imaginary part of a complex array. */
|
||||
array imag(const array& a, StreamOrDevice s = {});
|
||||
|
||||
/** @} */
|
||||
|
||||
} // namespace mlx::core
|
||||
|
||||
Reference in New Issue
Block a user