MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / forward

Method forward

k_diffusion/models/modules.py:649–655  ·  view source on GitHub ↗
(self, x, noise_cond)

Source from the content-addressed store, hash-verified

647
648
649 def forward(self, x, noise_cond):
650 x = rearrange(x, 'b c h w -> b h w c')
651 x=self.proj_in(x)
652 x=self.ff(x, noise_cond)
653 x = rearrange(x, 'b h w c -> b c h w')
654
655 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected