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 | Tensor. Допустимые типы: bfloat16, half, float32, float64, complex64, complex128. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
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