mlx.core.logical_or

目錄

mlx.core.logical_or#

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

Element-wise logical or.

參數:
  • a (array) -- First input array or scalar.

  • b (array) -- Second input array or scalar.

回傳:

The boolean array containing the logical or of a and b.

回傳型別:

array