Method
__call__
(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
Tested by
no test coverage detected