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

Method extra_repr

k_diffusion/models/modules.py:185–186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 tag_module(self.linear, "mapping")
184
185 def extra_repr(self):
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected