class_docstr: A :class:`Reporter` subclass to visualise the results in Tensorboard.
  
  It utilises Tensorboard's HParams plugin as a dashboard for the summary of
  the optimisation. This class prepares and creates entries with the scalar
  data of the experiment trials, containing the domain sample and the
  corresponding metrics.
  
  Notes:
      The user is responsible for launching TensorBoard in the browser.
class_docstr_tok: ["A",":","class",":","`","Reporter","`","subclass","to","visualise","the","results","in","Tensorboard",".","It","utilises","Tensorboard","'s","HParams","plugin","as","a","dashboard","for","the","summary","of","the","optimisation",".","This","class","prepares","and","creates","entries","with","the","scalar","data","of","the","experiment","trials",",","containing","the","domain","sample","and","the","corresponding","metrics",".","Notes",":","The","user","is","responsible","for","launching","TensorBoard","in","the","browser","."]
docstr: Log in legacy graph execution mode with session creation.
docstr_tok: ["Log","in","legacy","graph","execution","mode","with","session","creation","."]
code: def _log_tf_graph_mode(params, metrics, full_experiment_dir):
      """Log in legacy graph execution mode with session creation."""
      with summary_file_writer(
          full_experiment_dir
      ).as_default() as fw, session_builder() as sess:
          sess.run(fw.init())
          sess.run(hp.hparams(params))
          for metric_name, metric_value in metrics.items():
              sess.run(
                  summary_scalar(
                      metric_name, metric_value.value, step=1
                  )
              )
          sess.run(fw.flush())
  
file_path: hypertunity/hypertunity/reports/tensorboard.py
imports: import os
  import sys
  from typing import Any, Dict, List, Union
  import tinydb
  from hypertunity import utils
  from hypertunity.domain import Domain, Sample
  from hypertunity.optimisation.base import HistoryPoint
  from .base import Reporter
label_desc: Use image node_id 6 for calling the Tensorboard obj's underlying member method code with example usage: obj._log_tf_graph_mode(params, metrics, full_experiment_dir) without return types