class_docstr: Base class of all callbacks.
class_docstr_tok: ["Base","class","of","all","callbacks","."]
docstr: Get a state dict of the callback for pause and resume.
docstr_tok: ["Get","a","state","dict","of","the","callback","for","pause","and","resume","."]
code: def state_dict(self) -> Any:
      """Get a state dict of the callback for pause and resume."""
  
imports: from __future__ import annotations
  import copy
  import os
  import shutil
  import time
  from datetime import datetime
  from pathlib import Path
  from typing import Any, List, TYPE_CHECKING
  import numpy
  import pandas
  import torch
  from qlib.log import get_module_logger
  from qlib.typehint import Literal
label_desc: Use image node_id 11 for calling the Callback obj's underlying member method code with example usage: obj.state_dict() without return types