Solved by Brando_Miranda in post #2 
              
              
                this is probably enough: 
ref: ultimate-utils/ultimate-utils-proj-src/uutils/torch_uu at master · brando90/ultimate-utils · GitHubinit.py 
def orthogonal_procrustes_distance(x1: Tensor, x2: Tensor, normalize: bool = False) -> Tensor:
    """
    Computes the orthoginal procrustes distance.
    If no…