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