src/transformers/models/swinv2/modeling_swinv2.py/Swinv2DropPath/forward
class Swinv2DropPath:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        return drop_path(hidden_states, self.drop_prob, self.training)