MCPcopy Create free account
hub / github.com/bbaaii/DreamDiffusion / forward

Method forward

code/dc_ldm/modules/diffusionmodules/model.py:53–57  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

51 padding=1)
52
53 def forward(self, x):
54 x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest")
55 if self.with_conv:
56 x = self.conv(x)
57 return x
58
59
60class Downsample(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected