src/transformers/models/timesformer/modeling_timesformer.py/TimesformerEncoder/__init__
class TimesformerEncoder:    def __init__(self, config: TimesformerConfig) -> None:
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([TimesformerLayer(config, ind) for ind in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False