(self, target_feature)
| 237 | class StyleLoss(nn.Module): |
| 238 | |
| 239 | def __init__(self, target_feature): |
| 240 | super(StyleLoss, self).__init__() |
| 241 | self.target = gram_matrix(target_feature).detach() |
| 242 | |
| 243 | def forward(self, input): |
| 244 | G = gram_matrix(input) |
no test coverage detected