code: def labml_configs(self: Learner):
      configs = {}
      try:
          configs["n_epoch"] = self.learn.n_epoch
          configs["model_class"] = str(type(self.learn.model))
      except:
          pass
  
      return configs
  
file_path: labml/client/labml/utils/fastai.py
imports: from fastai.callback.core import Callback, patch
  from fastai.learner import Learner
  from labml import tracker
label_desc: Use image node_id 1 for calling a global function with example usage: labml_configs() and returns: configs