src/transformers/models/swin2sr/modeling_swin2sr.py/Swin2SRDropPath/forward
class Swin2SRDropPath:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        return drop_path(hidden_states, self.drop_prob, self.training)