MCPcopy Create free account
hub / github.com/Francis-Rings/MotionFollower / forward

Method forward

src/models/transformer_3d.py:41–44  ·  view source on GitHub ↗
(self, x, c)

Source from the content-addressed store, hash-verified

39 )
40
41 def forward(self, x, c):
42 shift, scale = self.adaLN_modulation(c).chunk(2, dim=1)
43 x = modulate(self.norm_final(x), shift, scale)
44 return x
45
46class Transformer3DModel(ModelMixin, ConfigMixin):
47 _supports_gradient_checkpointing = True

Callers

nothing calls this directly

Calls 1

modulateFunction · 0.70

Tested by

no test coverage detected