(self, x)
| 55 | self.conv_resi = nn.Conv2d(in_channels, out_channels, 1, 1, 0) |
| 56 | |
| 57 | def forward(self, x): |
| 58 | _x = self.conv_resi(x) |
| 59 | x = self.conv_in(x) |
| 60 | x = self.bn_in(x) |
| 61 | x = self.relu_in(x) |
| 62 | if hasattr(self, 'dec_att'): |
| 63 | x = self.dec_att(x) |
| 64 | x = self.conv_out(x) |
| 65 | x = self.bn_out(x) |
| 66 | return x + _x |
| 67 | |
| 68 | |
| 69 | class HierarAttDecBlk(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected