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

Method forward

diffsynth/models/kolors_text_encoder.py:754–760  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

752 )
753
754 def forward(self, hidden_states):
755 # [s, b, 4hp]
756 intermediate_parallel = self.dense_h_to_4h(hidden_states)
757 intermediate_parallel = self.activation_func(intermediate_parallel)
758 # [s, b, h]
759 output = self.dense_4h_to_h(intermediate_parallel)
760 return output
761
762
763class GLMBlock(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected