MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / forward

Method forward

diffusers/src/diffusers/models/activations.py:87–90  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

85 return F.gelu(gate.to(dtype=torch.float32), approximate=self.approximate).to(dtype=gate.dtype)
86
87 def forward(self, hidden_states):
88 hidden_states = self.proj(hidden_states)
89 hidden_states = self.gelu(hidden_states)
90 return hidden_states
91
92
93class GEGLU(nn.Module):

Callers

nothing calls this directly

Calls 1

geluMethod · 0.95

Tested by

no test coverage detected