MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / forward

Method forward

network/xception.py:96–107  ·  view source on GitHub ↗
(self, inp)

Source from the content-addressed store, hash-verified

94 self.rep = nn.Sequential(*rep)
95
96 def forward(self, inp):
97 x = self.rep(inp)
98
99 if self.skip is not None:
100 skip = self.skip(inp)
101 skip = self.skipbn(skip)
102 else:
103 skip = inp
104
105 x = x + skip
106
107 return x
108
109
110class xception71(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected