| 22 | |
| 23 | |
| 24 | class DenseNetAdjoint(DenseNet121): |
| 25 | |
| 26 | def __call__(self, x, adjoint_info): |
| 27 | if adjoint_info != 42: |
| 28 | raise ValueError |
| 29 | return super().__call__(x) |
| 30 | |
| 31 | |
| 32 | device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") |
no outgoing calls
no test coverage detected
searching dependent graphs…