MCPcopy Create free account
hub / github.com/ChunmingHe/WS-SAM / forward

Method forward

lib/Modules.py:186–194  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

184 self.conv_res = BasicConv2d(in_channels, out_channels, 1)
185
186 def forward(self, x):
187 x0 = self.branch0(x)
188 x1 = self.branch1(x)
189 x2 = self.branch2(x)
190 x3 = self.branch3(x)
191 x_cat = self.conv_cat(torch.cat((x0, x1, x2, x3), 1))
192
193 x = self.relu(x_cat + self.conv_res(x))
194 return x
195
196
197

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected