Skip to content

Commit

Permalink
Simpler intrvfl setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheddes committed Mar 6, 2024
1 parent 19ca163 commit fc3b80c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torchhd/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def test_initialization(self, dtype):
assert model.weight.device.type == device.type

def test_fit_ridge_regression(self):
samples = torch.eye(10, 12)
a = torch.randn(10)
b = torch.randn(12)
samples = torch.outer(a, b)
targets = torch.arange(10)

model = models.IntRVFL(12, 1245, 10)
Expand Down

0 comments on commit fc3b80c

Please sign in to comment.