(self, hidden_dim, empty_grad=False)
| 149 | class UnusedParametersModel(SimpleModel): |
| 150 | |
| 151 | def __init__(self, hidden_dim, empty_grad=False): |
| 152 | super().__init__(hidden_dim, empty_grad) |
| 153 | |
| 154 | self.unused_linear = torch.nn.Linear(hidden_dim, hidden_dim) |
| 155 | |
| 156 | |
| 157 | class LinearStack(torch.nn.Module): |