MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / forward

Method forward

diffsynth/models/flux_text_encoder.py:12–15  ·  view source on GitHub ↗
(self, input_ids)

Source from the content-addressed store, hash-verified

10 self.eval()
11
12 def forward(self, input_ids):
13 outputs = super().forward(input_ids=input_ids)
14 prompt_emb = outputs.last_hidden_state
15 return prompt_emb
16
17 @staticmethod
18 def state_dict_converter():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected