spd_learn.functional.transport_euclid#
- spd_learn.functional.transport_euclid(X, A=None, B=None)[source]#
Parallel transport for Euclidean metric.
- Parameters:
X (ndarray, shape (..., n, m)) – Matrices.
A (None | ndarray, shape (n, m), default=None) – Initial matrix, unused.
B (None | ndarray, shape (n, m), default=None) – Final matrix, unused.
- Returns:
X_new – Matrices, equal to X.
- Return type:
ndarray, shape (…, n, m)
Notes
Added in version 0.10.
Changed in version 0.12: Add support for NumPy and PyTorch.
See also