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