class_docstr: 用来管理训练过程中的所有的 callback 实例；
class_docstr_tok: ["\u7528\u6765\u7ba1\u7406\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684\u6240\u6709\u7684","callback","\u5b9e\u4f8b\uff1b"]
docstr: 将具体的一个 callback 实例的所有 callback 函数拆分后按时机插入到字典中；
  
  :param callback: 一个具体的 callback 实例；
docstr_tok: ["\u5c06\u5177\u4f53\u7684\u4e00\u4e2a","callback","\u5b9e\u4f8b\u7684\u6240\u6709","callback","\u51fd\u6570\u62c6\u5206\u540e\u6309\u65f6\u673a\u63d2\u5165\u5230\u5b57\u5178\u4e2d\uff1b",":","param","callback",":","\u4e00\u4e2a\u5177\u4f53\u7684","callback","\u5b9e\u4f8b\uff1b"]
code: def dissect_one_callback(self, callback: Callback):
      r"""
      将具体的一个 callback 实例的所有 callback 函数拆分后按时机插入到字典中；
  
      :param callback: 一个具体的 callback 实例；
      """
      self.all_callbacks.append(callback)
      for name, member in Event.__dict__.items():
          if isinstance(member, staticmethod):
              _fn = getattr(callback, name)
              if inspect.getsource(_fn) != inspect.getsource(
                  getattr(Callback, name)
              ):
                  self.callback_fns[name].append(_fn)
                  self.extract_callback_filter_state(
                      callback.callback_name, _fn
                  )
  
imports: import inspect
  from typing import List, Optional, Dict, Sequence
  from collections import defaultdict
  from .callback_event import Event
  from .callback import Callback
  from fastNLP.core.log import logger
  from .progress_callback import ProgressCallback, choose_progress_callback
  from ..utils.exceptions import EarlyStopException
  from ..utils.utils import _get_fun_msg
label_desc: Use image node_id 3 for calling the CallbackManager obj's underlying member method code with example usage: obj.dissect_one_callback(callback) without return types