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

Method forward

wan/models/pdf.py:442–452  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

440 return net
441
442 def forward(self, x):
443 x = self.model(x)
444 mouth_feat = self.to_mouth(x)
445 headpose_feat = self.to_headpose(x)
446 headpose_emb = self.headpose_embed(headpose_feat)
447 eye_feat = self.to_eye(x)
448 eye_embed = self.eye_embed(eye_feat)
449 emo_feat = self.to_emo(x)
450 emo_embed = self.emo_embed(emo_feat)
451
452 return headpose_emb, eye_embed, emo_embed, mouth_feat

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected