We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07bdcae commit f4abd1bCopy full SHA for f4abd1b
1 file changed
spd_learn/functional/regularize.py
@@ -79,7 +79,8 @@ def ledoit_wolf(
79
alpha = torch.sigmoid(shrinkage)
80
81
return (1 - alpha)[..., None, None] * covariances + alpha[..., None, None] * (
82
- mu[..., None] * shrink_mat.to(device=covariances.device, dtype=covariances.dtype)
+ mu[..., None]
83
+ * shrink_mat.to(device=covariances.device, dtype=covariances.dtype)
84
)
85
86
0 commit comments