code: def _format_config(config):
      "Format config parameters before logging them"
      for k, v in config.items():
          if isinstance(v, dict):
              config[k] = _format_config(v)
          else:
              config[k] = _format_config_value(v)
      return config
  
imports: from __future__ import annotations
  from ..basics import *
  from .progress import *
  from ..text.data import TensorText
  from ..tabular.all import TabularDataLoaders, Tabular
  from .hook import total_params
  from .tracker import SaveModelCallback
  import wandb
label_desc: Use image node_id 4 for calling a global function with example usage: _format_config(config) and returns: config