class_docstr: Abstract base class used to build new callbacks.
  
  Subclass this class and override any of the relevant hooks
class_docstr_tok: ["Abstract","base","class","used","to","build","new","callbacks",".","Subclass","this","class","and","override","any","of","the","relevant","hooks"]
docstr: Called when loading a checkpoint, implement to reload callback state given callback's ``state_dict``.
  
  Args:
      state_dict: the callback state returned by ``state_dict``.
docstr_tok: ["Called","when","loading","a","checkpoint",",","implement","to","reload","callback","state","given","callback","'s","``","state_dict","``",".","Args",":","state_dict",":","the","callback","state","returned","by","``","state_dict","``","."]
code: def load_state_dict(self, state_dict: Dict[str, Any]) -> None:
      """Called when loading a checkpoint, implement to reload callback state given callback's ``state_dict``.
  
      Args:
          state_dict: the callback state returned by ``state_dict``.
  
      """
      pass
  
imports: from typing import Any, Dict, Type
  from torch import Tensor
  from torch.optim import Optimizer
  import lightning.pytorch
  from lightning.pytorch.utilities.types import STEP_OUTPUT
label_desc: Use image node_id 36 for calling the Callback obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types