mlx.core.arctan2

目录

mlx.core.arctan2#

arctan2(a: scalar | array, b: scalar | array, /, *, stream: StreamOrDevice = None) → array#

Element-wise inverse tangent of the ratio of two arrays.

参数:
  • a (array or scalar) -- Input array or scalar.

  • b (array or scalar) -- Input array or scalar.

返回:

The inverse tangent of the ratio of a and b.

返回类型:

array