code: def __init__(self, param_dict):
      super(DeepSpeedActivationCheckpointingConfig, self).__init__()
  
      self.partition_activations = None
      self.contiguous_memory_optimization = None
      self.cpu_checkpointing = None
      self.number_checkpoints = None
      self.synchronize_checkpoint_boundary = None
      self.profile = None
  
      if ACT_CHKPT in param_dict.keys():
          act_chkpt_config_dict = param_dict[ACT_CHKPT]
      else:
          act_chkpt_config_dict = ACT_CHKPT_DEFAULT
  
      self._initialize(act_chkpt_config_dict)
  
imports: from deepspeed.runtime.config_utils import get_scalar_param, DeepSpeedConfigObject
label_desc: Use image node_id 1 to create a new DeepSpeedActivationCheckpointingConfig object from inherited base classes: DeepSpeedConfigObject with example: obj = DeepSpeedActivationCheckpointingConfig(param_dict)