We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29466db commit 110ae24Copy full SHA for 110ae24
intermediate_source/parametrizations.py
@@ -255,7 +255,7 @@ def forward(self, X):
255
parametrize.register_parametrization(layer_spd, "weight", MatrixExponential())
256
X = layer_spd.weight
257
print(torch.dist(X, X.T)) # X is symmetric
258
-print((torch.linalg.eigvalsh(X, UPLO="U") > 0.).all()) # X is positive definite
+print((torch.linalg.eigvalsh(X) > 0.).all()) # X is positive definite
259
260
###############################################################################
261
# Initializing parametrizations
0 commit comments