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

Method forward

code/dc_ldm/modules/diffusionmodules/model.py:763–768  ·  view source on GitHub ↗
(self, x, scale_factor=1.0)

Source from the content-addressed store, hash-verified

761 padding=1)
762
763 def forward(self, x, scale_factor=1.0):
764 if scale_factor==1.0:
765 return x
766 else:
767 x = torch.nn.functional.interpolate(x, mode=self.mode, align_corners=False, scale_factor=scale_factor)
768 return x
769
770class FirstStagePostProcessor(nn.Module):
771

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected