src/transformers/models/maskformer/modeling_maskformer_swin.py/MaskFormerSwinDropPath/forward
class MaskFormerSwinDropPath:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        return drop_path(hidden_states, self.drop_prob, self.training)