(p)
| 776 | # resnet_s.network.fc) |
| 777 | |
| 778 | def opt(p): |
| 779 | return torch.optim.Adam(p, lr=hparams["lr"], weight_decay=hparams["weight_decay"]) |
| 780 | |
| 781 | self.optimizer_f = opt(self.network_f.parameters()) |
| 782 | self.optimizer_c = opt(self.network_c.parameters()) |
nothing calls this directly
no outgoing calls
no test coverage detected