MCPcopy Create free account
hub / github.com/deepbrainai-research/float / forward

Method forward

models/float/encoder.py:188–195  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

186 self.skip = ConvLayer(in_channel, out_channel, 1, downsample=True, activate=False, bias=False)
187
188 def forward(self, input):
189 out = self.conv1(input)
190 out = self.conv2(out)
191
192 skip = self.skip(input)
193 out = (out + skip) / math.sqrt(2)
194
195 return out
196
197
198class EncoderApp(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected