(self, x)
| 16 | self.lrelu = torch.nn.LeakyReLU(negative_slope=0.2, inplace=True) |
| 17 | |
| 18 | def forward(self, x): |
| 19 | x1 = self.lrelu(self.conv1(x)) |
| 20 | x2 = self.lrelu(self.conv2(torch.cat((x, x1), 1))) |
| 21 | x3 = self.lrelu(self.conv3(torch.cat((x, x1, x2), 1))) |
| 22 | x4 = self.lrelu(self.conv4(torch.cat((x, x1, x2, x3), 1))) |
| 23 | x5 = self.conv5(torch.cat((x, x1, x2, x3, x4), 1)) |
| 24 | return x5 * 0.2 + x |
| 25 | |
| 26 | |
| 27 | class RRDB(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected