(self, x)
| 382 | self.initial_params() |
| 383 | |
| 384 | def forward(self, x): |
| 385 | n, c, h, w = x.size() |
| 386 | x = self.conv1(x) |
| 387 | x = self.pool(x) |
| 388 | x = x.view(n, -1) |
| 389 | x = self.fc(x) |
| 390 | x = x.view(n, self.channels, 1, 1) |
| 391 | x = self.conv2(x) |
| 392 | x = x.repeat(1, 1, h, w) |
| 393 | return x |
| 394 | |
| 395 | def initial_params(self, dev=0.01): |
| 396 | for m in self.modules(): |
nothing calls this directly
no outgoing calls
no test coverage detected