torch_specinv.metrics¶
-
torch_specinv.metrics.
sc
(input, target)[source]¶ The Spectral Convergence score is calculated as follow:
\[\mathcal{C}(\mathbf{\hat{S}}, \mathbf{S})=\frac{\|\mathbf{\hat{S}}-\mathbf{S}\|_{Fro}}{\|\mathbf{S}\|_{Fro}}\]Returns: scalar output in db scale.