Skip to content

Commit 23c1dd8

Browse files
committed
[no-ci] Don't add identity in postitive semi definite link
1 parent e2e3b72 commit 23c1dd8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bayesflow/links/positive_semi_definite.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ def __init__(self, **kwargs):
1010
super().__init__(**keras_kwargs(kwargs))
1111

1212
def call(self, inputs):
13-
# add identity to avoid coliniarity of input columns
14-
inputs += keras.ops.identity(inputs.shape[-1])
1513
# multiply M * M^T to get symmetric matrix
1614
return keras.ops.einsum("...ij,...kj->...ik", inputs, inputs)
1715

0 commit comments

Comments
 (0)