mlx.core.isposinf

目錄

mlx.core.isposinf#

isposinf(a: array, stream: None | Stream | Device = None) array#

Return a boolean array indicating which elements are positive infinity.

參數:
  • a (array) -- 輸入陣列。

  • stream (Union[None, Stream, Device]) -- Optional stream or device.

回傳值:

The boolean array indicating which elements are positive infinity.

回傳值型別:

array