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

Method forward

k_diffusion/layers.py:294–296  ·  view source on GitHub ↗
(self, input, cond)

Source from the content-addressed store, hash-verified

292 self.skip = skip if skip else nn.Identity()
293
294 def forward(self, input, cond):
295 skip = self.skip(input, cond) if isinstance(self.skip, ConditionedModule) else self.skip(input)
296 return self.main(input, cond) + skip
297
298
299class AdaGN(ConditionedModule):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected