mlx.core.real

目錄

mlx.core.real#

real(a: array, /, *, stream: None | Stream | Device = None) array#

Returns the real part of a complex array.

參數:

a (array) -- 輸入陣列。

回傳值:

The real part of a.

回傳值型別:

array