MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / forward

Method forward

ldm/modules/diffusionmodules/model.py:68–72  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

66 padding=1)
67
68 def forward(self, x):
69 x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest")
70 if self.with_conv:
71 x = self.conv(x)
72 return x
73
74
75class Downsample(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected