(self, inp)
| 141 | return torch.cat((ca, cb), 1) |
| 142 | |
| 143 | def forward(self, inp): |
| 144 | c8, c4, c2 = inp |
| 145 | if self.use_skip_connection: |
| 146 | d1 = self.deconv1(self.concat_feature(c8, c4)) |
| 147 | c9 = self.conv9(d1) |
| 148 | d2 = self.deconv2(self.concat_feature(c9, c2)) |
| 149 | else: |
| 150 | d1 = self.deconv1(c8) |
| 151 | c9 = self.conv9(d1) |
| 152 | d2 = self.deconv2(c9) |
| 153 | |
| 154 | c10 = self.conv10(d2) |
| 155 | c11 = self.conv11(c10) |
| 156 | return c11 |
| 157 | |
| 158 | |
| 159 | class UpSampleResNetSkip(BaseModule): |
nothing calls this directly
no test coverage detected