src/transformers/models/dinat/modeling_dinat.py/DinatDropPath/forward
class DinatDropPath:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        return drop_path(hidden_states, self.drop_prob, self.training)