chainer.functions.arctan2¶
-
chainer.functions.
arctan2
(x1, x2)[source]¶ Elementwise arctangent function with two arguments.
Parameters: - x1 (
Variable
ornumpy.ndarray
orcupy.ndarray
) – Y-coordinates. - x2 (
Variable
ornumpy.ndarray
orcupy.ndarray
) – X-coordinates.
Returns: Angles in radians, in the range [-pi, pi].
Return type: - x1 (