src/transformers/models/x_clip/modeling_x_clip.py/XCLIPDropPath/forward
class XCLIPDropPath:    def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
        return drop_path(hidden_states, self.drop_prob, self.training)