src/transformers/models/dinat/modeling_dinat.py/DinatPreTrainedModel/_set_gradient_checkpointing
class DinatPreTrainedModel:    def _set_gradient_checkpointing(self, module: DinatEncoder, value: bool = False) -> None:
        pass