(self, input, target)
| 24 | param.requires_grad = False |
| 25 | |
| 26 | def forward(self, input, target): |
| 27 | vgg_input_features = self.vgg(input) |
| 28 | vgg_target_features = self.vgg(target) |
| 29 | return self.loss(vgg_input_features, vgg_target_features) |
| 30 | |
| 31 | if __name__ == '__main__': |
| 32 | # vgg = vgg19(pretrained = True) |
nothing calls this directly
no outgoing calls
no test coverage detected