Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Asin
#include <math_ops.h>
Computes the trignometric inverse sine of x element-wise.
Summary
The tf.math.asin
operation returns the inverse of tf.math.sin
, such that if y = tf.math.sin(x)
then, x = tf.math.asin(y)
.
Note: The output of tf.math.asin
will lie within the invertible range of sine, 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.sin(x) # [0.8659266, 0.7068252]
tf.math.asin(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::Asin Class Reference\n\ntensorflow::ops::Asin\n=====================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes the trignometric inverse sine of x element-wise.\n\nSummary\n-------\n\nThe `tf.math.asin` operation returns the inverse of `tf.math.sin`, such that if `y = tf.math.sin(x)` then, `x = tf.math.asin(y)`.\n\n**Note** : The output of `tf.math.asin` will lie within the invertible range of sine, 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.sin(x) # [0.8659266, 0.7068252]\n```\n\n\u003cbr /\u003e\n\n\n```text\ntf.math.asin(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| [Asin](#classtensorflow_1_1ops_1_1_asin_1ae176a4bc45c5fdb25d169c5dc78d5247)`(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_asin_1a137926536926d3e892de672da53c022b) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [y](#classtensorflow_1_1ops_1_1_asin_1a694b3f1e8701b15f6f1f995af7af328d) | `::`[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_asin_1a19f9746483877a490643e00f2563f376)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_asin_1a8b6390623b94061992e7e965f0f9e9a2)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_asin_1ab7923c0c3cb13f53b540bcbf3153747e)`() 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### Asin\n\n```gdscript\n Asin(\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```"]]