()
| 25 | |
| 26 | @pytest.fixture |
| 27 | def sequential_model(): |
| 28 | model = torch.nn.Sequential( |
| 29 | *[nn.Linear(HIDDEN_DIM, HIDDEN_DIM) for _ in range(LAYERS)], |
| 30 | nn.Linear(HIDDEN_DIM, 1), |
| 31 | ) |
| 32 | return model |
| 33 | |
| 34 | |
| 35 | @pytest.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected