mindspore.Tensor.mH

property Tensor.mH

Accessing this property is equivalent to Calling self.adjoint(). For details, please refer to mindspore.ops.adjoint().

Examples

>>> from mindspore import Tensor
>>> import numpy as np
>>> x = Tensor(np.array([[0. + 0.j, 1. + 1.j], [2. + 2.j, 3. + 3.j]]))
>>> output = x.mH
>>> print(output)
[[0.-0.j 2.-2.j]
 [1.-1.j 3.-3.j]]