tf.compat.v1.math.asin
Вычисляет тригонометрический обратный синус x поэлементно.
tf.compat.v1.math.asin(
x: Annotated[Any, tf.raw_ops.Any],
name=None
) -> Annotated[Any, tf.raw_ops.Any]
Операция tf.math.asin возвращает обратное значение tf.math.sin таким образом, что если y = tf.math.sin(x), то x = tf.math.asin(y).
Примечание: Выход tf.math.asin будет лежать в обратимом диапазоне синуса, т.е. [-pi/2, pi/2].
Пример:
# 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
| Аргументы | |
|---|---|
x | A Tensor. Должен быть одного из следующих типов: bfloat16, half, float32, float64, complex64, complex128. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
A Tensor. Имеет тот же тип, что и x. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/compat/v1/math/asin