docstr: Loads the schedulers state.
  
  Args:
      state_dict (dict): scheduler state. Should be an object returned
          from a call to :meth:`state_dict`.
docstr_tok: ["Loads","the","schedulers","state",".","Args",":","state_dict","(","dict",")",":","scheduler","state",".","Should","be","an","object","returned","from","a","call","to",":","meth",":","`","state_dict","`","."]
code: def load_state_dict(self, state_dict):
      """Loads the schedulers state.
  
      Args:
          state_dict (dict): scheduler state. Should be an object returned
              from a call to :meth:`state_dict`.
      """
      self.__dict__.update(state_dict)
  
file_path: pytorch/torch/ao/pruning/scheduler/base_scheduler.py
imports: from torch.ao.pruning import BaseSparsifier
  from functools import wraps
  import warnings
  import weakref
label_desc: Use image node_id 3 for calling the BaseScheduler obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types