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

Method forward

k_diffusion/models/modules.py:587–592  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

585 self.out_norm = RMSNorm(d_model)
586
587 def forward(self, x):
588 x = self.in_norm(x)
589 for block in self.blocks:
590 x = block(x)
591 x = self.out_norm(x)
592 return x
593
594
595# Token merging and splitting

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected