src/transformers/models/table_transformer/modeling_table_transformer.py/TableTransformerPreTrainedModel/_set_gradient_checkpointing
class TableTransformerPreTrainedModel:    def _set_gradient_checkpointing(self, module, value=False):
        if isinstance(module, TableTransformerDecoder):
            module.gradient_checkpointing = value