orthogonalize()
Orthogonalizes x with respect to y along the specified dimension.
x (Tensor) – The tensor to be orthogonalized.
Tensor
y (Tensor) – The tensor with respect to which x will be orthogonalized.
dim (int) – The dimension along which the orthogonalization will be performed. Default is -1.
int
The orthogonalized tensor.