code: def get_reporter(name: str) -> Type[Reporter]:
      name = name.lower()
      if name.startswith("table"):
          return reports.Table
      if name.startswith(("tensor", "tb")):
          import reports.tensorboard as tb
  
          return tb.Tensorboard
      raise ValueError(
          f"Unknown reporter {name}. Select one from {{'table', 'tensorboard'}}."
      )
  
file_path: hypertunity/hypertunity/trial.py
imports: from typing import Callable, Type, Union
  from hypertunity import optimisation, reports, utils
  from hypertunity.domain import Domain
  from hypertunity.optimisation import Optimiser
  from hypertunity.reports import Reporter
  from hypertunity.scheduling import Job, Scheduler, SlurmJob
label_desc: Use image node_id 2 for calling a global function with example usage: get_reporter(name) and returns: reports, tb