Function atan2

  • Calculates the angle (in radians) from a specified point to the coordinate origin as measured from the positive x-axis. Values are returned as a float in the range from PI to -PI.

    Returns

    the arc tangent of each tensor element

    Parameters

    • t: Tensor

      the input tensor

    • b: number | Tensor

      the x-coordinate(s) used for computing the arc tangent

    Returns Tensor

Generated using TypeDoc