[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.math.atan\n\n\u003cbr /\u003e\n\nComputes the trignometric inverse tangent of x element-wise.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tf.atan`](https://www.tensorflow.org/api_docs/python/tf/math/atan)\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.atan`](https://www.tensorflow.org/api_docs/python/tf/math/atan)\n\n\u003cbr /\u003e\n\n tf.math.atan(\n x: Annotated[Any, ../../tf/raw_ops/Any],\n name=None\n ) -\u003e Annotated[Any, ../../tf/raw_ops/Any]\n\nThe [`tf.math.atan`](../../tf/math/atan) operation returns the inverse of [`tf.math.tan`](../../tf/math/tan), such that\nif `y = tf.math.tan(x)` then, `x = tf.math.atan(y)`.\n| **Note:** The output of [`tf.math.atan`](../../tf/math/atan) will lie within the invertible range of tan, i.e (-pi/2, pi/2).\n\n#### For example:\n\n # Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\n x = tf.constant([1.047, 0.785])\n y = tf.math.tan(x) # [1.731261, 0.99920404]\n\n tf.math.atan(y) # [1.047, 0.785] = x\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|----------------------------------------------------------------------------------------------------------------------|\n| `x` | A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor`. Has the same type as `x`. ||\n\n\u003cbr /\u003e"]]