src/transformers/models/unispeech/modeling_unispeech.py/UniSpeechSamePadLayer/forward
class UniSpeechSamePadLayer:    def forward(self, hidden_states):
        if self.num_pad_remove > 0:
            hidden_states = hidden_states[:, :, : -self.num_pad_remove]
        return hidden_states