tf.linalg.adjoint
Transposes the last two dimensions of and conjugates tensor matrix
.
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.
|
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-03-17 UTC.
[null,null,["Last updated 2023-03-17 UTC."],[],[]]