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

Method forward

models/float/encoder.py:228–236  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

226 self.convs.append(EqualConv2d(in_channel, self.w_dim, 4, padding=0, bias=False))
227
228 def forward(self, x):
229
230 res = []
231 h = x
232 for conv in self.convs:
233 h = conv(h)
234 res.append(h)
235
236 return res[-1].squeeze(-1).squeeze(-1), res[::-1][2:]
237
238
239class Encoder(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected