Skip to content

Commit

Permalink
Update test_svd.py
Browse files Browse the repository at this point in the history
Signed-off-by: Karthik Uppuluri <karthik.uppuluri@fmr.com>
  • Loading branch information
kuppulur authored Dec 4, 2024
1 parent 7de9ff0 commit acb6e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_svd.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def test_fit_transform(self):
expected = torch.tensor([[0.8526761532, -0.5070778131],
[0.9837458134, -0.0636523664],
[0.7350711226, 0.6733918786]], dtype=torch.float32)
self._test_fit_transform(tw, expected)
self._test_fit_transform(tw, expected, svd=True)
self._reset_seed()
self._test_fit_before_transform(tw, expected)
self._test_fit_before_transform(tw, expected, svd=True)

def test_min_components(self):
with self.assertRaises(ValueError):
Expand Down

0 comments on commit acb6e58

Please sign in to comment.