src/transformers/models/canine/modeling_canine.py/CaninePredictionHeadTransform/forward
class CaninePredictionHeadTransform:    def forward(self, hidden_states: Tuple[torch.FloatTensor]) -> torch.FloatTensor:
        hidden_states = self.dense(hidden_states)
        hidden_states = self.transform_act_fn(hidden_states)
        hidden_states = self.LayerNorm(hidden_states)
        return hidden_states