cases, this is unwanted.
     * **hparam_domain_discrete** -- (Optional[Dict[str,
       List[Any]]]) A dictionary that contains names of the
       hyperparameters and all discrete values they can hold

     * **run_name** (*str*) -- Name of the run, to be included as
       part of the logdir. If unspecified, will use current
       timestamp.

  Examples:

     from torch.utils.tensorboard import SummaryWriter
     with SummaryWriter() as w:
         for i in range(5):
             w.add_hparams({'lr': 0.1*i, 'bsize': i},
                           {'hparam/accuracy': 10*i, 'hparam/loss': 10*i})

  Expected result:

  [image]

flush()
  Flushes the event file to disk. Call this method to make sure
  that all pending events have been written to disk.

close()