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

Method forward

diffsynth/models/sd3_text_encoder.py:75–78  ·  view source on GitHub ↗
(self, input_ids)

Source from the content-addressed store, hash-verified

73 self.eval()
74
75 def forward(self, input_ids):
76 outputs = super().forward(input_ids=input_ids)
77 prompt_emb = outputs.last_hidden_state
78 return prompt_emb
79
80 @staticmethod
81 def state_dict_converter():

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected