(self, x)
| 486 | ) |
| 487 | |
| 488 | def forward(self, x): |
| 489 | out = x + self.conv_block(x) |
| 490 | |
| 491 | # Remove ReLU at the end of the residual block |
| 492 | # http://torch.ch/blog/2016/02/04/resnets.html |
| 493 | |
| 494 | return out |
| 495 | |
| 496 | |
| 497 | def spectral_norm(module, mode=True): |
nothing calls this directly
no outgoing calls
no test coverage detected