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

Method __call__

diffusers/src/diffusers/models/attention_flax.py:491–494  ·  view source on GitHub ↗
(self, hidden_states, deterministic=True)

Source from the content-addressed store, hash-verified

489 self.dropout_layer = nn.Dropout(rate=self.dropout)
490
491 def __call__(self, hidden_states, deterministic=True):
492 hidden_states = self.proj(hidden_states)
493 hidden_linear, hidden_gelu = jnp.split(hidden_states, 2, axis=2)
494 return self.dropout_layer(hidden_linear * nn.gelu(hidden_gelu), deterministic=deterministic)

Callers

nothing calls this directly

Calls 1

geluMethod · 0.45

Tested by

no test coverage detected