MCPcopy Create free account
hub / github.com/DIVE128/DMVSNet / forward

Method forward

networks/module.py:196–202  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

194 # self.init_weights(init_method)
195
196 def forward(self, x):
197 y = self.conv(x)
198 if self.bn is not None:
199 x = self.bn(y)
200 if self.relu:
201 x = F.relu(x, inplace=True)
202 return x
203
204 def init_weights(self, init_method):
205 """default initialization"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected