code: def _ray_tune_searcher_log_adapt(analysis):
      # config
      config = analysis.get_all_configs()
      # metric
      metric_raw = analysis.fetch_trial_dataframes()
      metric = {}
      for key, value in metric_raw.items():
          metric[key] = dict(
              zip(list(value.columns), list(map(list, value.values.T)))
          )
          config[key]["address"] = key
      return config, metric
  
file_path: BigDL/python/orca/src/bigdl/orca/automl/search/tensorboardlogger.py
imports: from ray.tune.utils import flatten_dict
  import numpy
  import os
  import math
  from torch.utils.tensorboard import SummaryWriter
  from torch.utils.tensorboard.summary import hparams
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 4 for calling the TensorboardLogger obj's underlying member method code with example usage: obj._ray_tune_searcher_log_adapt(analysis) and returns: config,  metric