def wasserstein_distance_sigma(sigma1, sigma2):
    wasserstein_distance_item2 = ((paddle.matmul(sigma1, sigma1) + paddle.matmul(sigma2, sigma2)) - (2 * self.sqrt_newton_schulz_autograd(paddle.matmul(paddle.matmul(sigma1, paddle.matmul(sigma2, sigma2)), sigma1), 10)))
    wasserstein_distance_item2 = self.trace(wasserstein_distance_item2)
    return wasserstein_distance_item2
def wasserstein_distance_sigma(sigma1, sigma2):
    wasserstein_distance_item2 = ((paddle.matmul(sigma1, sigma1) + paddle.matmul(sigma2, sigma2)) - (2 * self.sqrt_newton_schulz_autograd(paddle.matmul(paddle.matmul(sigma1, paddle.matmul(sigma2, sigma2)), sigma1), 10)))
    wasserstein_distance_item2 = self.trace(wasserstein_distance_item2)
    return wasserstein_distance_item2