class_docstr: The :class:`CallbackList` class is a wrapper for a list of callbacks which acts as a single :class:`.Callback` and
  internally calls each :class:`.Callback` in the given list in turn.
  
  Args:
      callback_list (list): The list of callbacks to be wrapped. If the list contains a :class:`CallbackList`, this
          will be unwrapped.
class_docstr_tok: ["The",":","class",":","`","CallbackList","`","class","is","a","wrapper","for","a","list","of","callbacks","which","acts","as","a","single",":","class",":","`",".Callback","`","and","internally","calls","each",":","class",":","`",".Callback","`","in","the","given","list","in","turn",".","Args",":","callback_list","(","list",")",":","The","list","of","callbacks","to","be","wrapped",".","If","the","list","contains","a",":","class",":","`","CallbackList","`",",","this","will","be","unwrapped","."]
docstr: Resume this callback list from the given state. Callbacks must be given in the same order for this to work.
  
  Args:
      state_dict (dict): The state dict to reload
  
  Returns:
      CallbackList: self
docstr_tok: ["Resume","this","callback","list","from","the","given","state",".","Callbacks","must","be","given","in","the","same","order","for","this","to","work",".","Args",":","state_dict","(","dict",")",":","The","state","dict","to","reload","Returns",":","CallbackList",":","self"]
code: def load_state_dict(self, state_dict):
      """Resume this callback list from the given state. Callbacks must be given in the same order for this to work.
  
      Args:
          state_dict (dict): The state dict to reload
  
      Returns:
          CallbackList: self
      """
  
      t_iter = iter(state_dict[CallbackList.CALLBACK_TYPES])
      s_iter = iter(state_dict[CallbackList.CALLBACK_STATES])
  
      def from_state(callback):
          if callback.__class__ == next(t_iter):
              callback.load_state_dict(next(s_iter))
          else:
              import warnings
  
              warnings.warn(
                  "Callback classes did not match, expected: "
                  + str(
                      [
                          c.__name__
                          for c in state_dict[
                              CallbackList.CALLBACK_TYPES
                          ]
                      ]
                  )
              )
  
      self._for_list(from_state)
  
      return self
  
imports: from torchbearer import Callback
label_desc: Use image node_id 3 for calling the CallbackList obj's underlying member method code with example usage: obj.load_state_dict(state_dict) and returns: self