mlx.core.isposinf

目錄

mlx.core.isposinf#

isposinf(a: array, stream: StreamOrDevice = None) → array#

Return a boolean array indicating which elements are positive infinity.

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

  • stream (StreamOrDevice) -- Optional stream or device.

回傳值:

The boolean array indicating which elements are positive infinity.

回傳值型別:

array