src/transformers/models/led/modeling_tf_led.py/TFLEDEncoder/compute_hidden_states
class TFLEDEncoder:    def compute_hidden_states(self, hidden_states, padding_len):
        return hidden_states[:, :-padding_len] if padding_len > 0 else hidden_states