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) -- Input array.

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

回傳:

The boolean array indicating which elements are positive infinity.

回傳型別:

array