(self, hidden_dim, empty_grad=False)
| 138 | class UnusedParametersModel(SimpleModel): |
| 139 | |
| 140 | def __init__(self, hidden_dim, empty_grad=False): |
| 141 | super().__init__(hidden_dim, empty_grad) |
| 142 | |
| 143 | self.unused_linear = torch.nn.Linear(hidden_dim, hidden_dim) |
| 144 | |
| 145 | |
| 146 | class LinearStack(torch.nn.Module): |