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

Method forward

k_diffusion/models/modules.py:188–189  ·  view source on GitHub ↗
(self, x, cond)

Source from the content-addressed store, hash-verified

186 return f"eps={self.eps},"
187
188 def forward(self, x, cond):
189 return rms_norm(x, self.linear(cond)[:, None, None, :] + 1, self.eps)
190
191
192# Rotary position embeddings

Callers

nothing calls this directly

Calls 1

rms_normFunction · 0.85

Tested by

no test coverage detected