MCPcopy Create free account
hub / github.com/LTH14/mar / forward

Method forward

models/vae.py:28–32  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

26 )
27
28 def forward(self, x):
29 x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest")
30 if self.with_conv:
31 x = self.conv(x)
32 return x
33
34
35class Downsample(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected