Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Atan
#include <math_ops.h>
Computes the trignometric inverse tangent of x element-wise.
Summary
The tf.math.atan
operation returns the inverse of tf.math.tan
, such that if y = tf.math.tan(x)
then, x = tf.math.atan(y)
.
Note: The output of tf.math.atan
will lie within the invertible range of tan, i.e (-pi/2, pi/2).
For example:
# Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]
x = tf.constant([1.047, 0.785])
y = tf.math.tan(x) # [1.731261, 0.99920404]
tf.math.atan(y) # [1.047, 0.785] = x
Args:
Returns:
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::Atan Class Reference\n\ntensorflow::ops::Atan\n=====================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes the trignometric inverse tangent of x element-wise.\n\nSummary\n-------\n\nThe `tf.math.atan` operation returns the inverse of `tf.math.tan`, such that if `y = tf.math.tan(x)` then, `x = tf.math.atan(y)`.\n\n**Note** : The output of `tf.math.atan` will lie within the invertible range of tan, i.e (-pi/2, pi/2).\n\nFor example:\n\n\n```gdscript\n# Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\nx = tf.constant([1.047, 0.785])\ny = tf.math.tan(x) # [1.731261, 0.99920404]\n```\n\n\u003cbr /\u003e\n\n\n```text\ntf.math.atan(y) # [1.047, 0.785] = x\n```\n\n\u003cbr /\u003e\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The y tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Atan](#classtensorflow_1_1ops_1_1_atan_1a7b02bb9ab4e7cd8ff23d3e92c6686ee3)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_atan_1a117cba9fcb527e14a8cd50fef2654b73) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [y](#classtensorflow_1_1ops_1_1_atan_1a760de5766d91ab58baac9b30ef72e31b) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_atan_1a1cfef5ade7b9abd1e2950e75d91a0f9e)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_atan_1aeaf5812aa103244a12bf811b2132c160)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_atan_1a79805771e314a6c80bb73dcb34bb4e73)`() const ` | |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### y\n\n```text\n::tensorflow::Output y\n``` \n\nPublic functions\n----------------\n\n### Atan\n\n```gdscript\n Atan(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]