MCPcopy Create free account
hub / github.com/MaureenZOU/TSAM / forward

Method forward

src/model/modules.py:143–156  ·  view source on GitHub ↗
(self, inp)

Source from the content-addressed store, hash-verified

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
159class UpSampleResNetSkip(BaseModule):

Callers

nothing calls this directly

Calls 1

concat_featureMethod · 0.95

Tested by

no test coverage detected