Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Acos
#include <math_ops.h>
Computes acos of x element-wise.
Summary
Provided an input tensor, the tf.math.acos
operation returns the inverse cosine of each element of the tensor. If y = tf.math.cos(x)
then, x = tf.math.acos(y)
.
Input range is [-1, 1]
and the output has a range of [0, pi]
.
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::Acos Class Reference\n\ntensorflow::ops::Acos\n=====================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes acos of x element-wise.\n\nSummary\n-------\n\nProvided an input tensor, the `tf.math.acos` operation returns the inverse cosine of each element of the tensor. If `y = tf.math.cos(x)` then, `x = tf.math.acos(y)`.\n\n[Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input) range is `[-1, 1]` and the output has a range of `[0, pi]`.\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| [Acos](#classtensorflow_1_1ops_1_1_acos_1ac9955d0a945c94676d6739f202d8f6d8)`(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_acos_1a0cfc48157462e116bbbbd2c3806973fe) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [y](#classtensorflow_1_1ops_1_1_acos_1ab9fec648c9e6a57e2151776161e0ba0f) | `::`[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_acos_1a7a08b77dad0ab0e0fae2c0be13f93fd9)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_acos_1a7b91a2440707e8240da83752cad57965)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_acos_1a6e68abb504d90aaced934bd56471a264)`() 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### Acos\n\n```gdscript\n Acos(\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```"]]