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

Method forward

ldm/modules/diffusionmodules/upscaling.py:62–64  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

60 self.max_noise_level = 0
61
62 def forward(self, x):
63 # fix to constant noise level
64 return x, torch.zeros(x.shape[0], device=x.device).long()
65
66
67class ImageConcatWithNoiseAugmentation(AbstractLowScaleModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected