spd_learn.functional.gbw_inverse_chart#
- spd_learn.functional.gbw_inverse_chart(x: Tensor, metric: Tensor, power=1.0)[source]#
Invert the power-deformed BW chart.
- Parameters:
x (torch.Tensor) – Real SPD matrices of shape (…, n, n).
metric (torch.Tensor) – SPD metric of shape (…, n, n), broadcastable with x.
power (float or torch.Tensor, default=1.0) – Positive scalar deformation exponent.
- Returns:
Real SPD matrices with broadcast leading axes.
- Return type:
Notes
Computes (M^(1/2) X M^(1/2))^(1/power). Use the same metric and power as the forward chart.