Spec-Zone.ru › TensorFlow 2.4

tf.linalg.adjoint

View source on GitHub

Transposes the last two dimensions of and conjugates tensor matrix.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.linalg.adjoint

tf.linalg.adjoint(
    matrix, name=None
)

For example:

x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j],
                 [4 + 4j, 5 + 5j, 6 + 6j]])
tf.linalg.adjoint(x)  # [[1 - 1j, 4 - 4j],
                      #  [2 - 2j, 5 - 5j],
                      #  [3 - 3j, 6 - 6j]]
Args
matrix A Tensor. Must be float16, float32, float64, complex64, or complex128 with shape [..., M, M].
name A name to give this Op (optional).
Returns
The adjoint (a.k.a. Hermitian transpose a.k.a. conjugate transpose) of matrix.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/linalg/adjoint

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API