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

Method forward

animation/modules/id_encoder.py:100–106  ·  view source on GitHub ↗
(self, latents, x)

Source from the content-addressed store, hash-verified

98 nn.init.constant_(self.proj_out.bias, 0)
99
100 def forward(self, latents, x):
101 x = self.proj_in(x)
102 for attn, ff in self.layers:
103 latents = attn(x, latents) + latents
104 latents = ff(latents) + latents
105 latents = self.proj_out(latents)
106 return self.norm_out(latents)
107
108
109class FusionFaceId(ModelMixin):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected