class_docstr: ``TrainContext`` gives access to report training and validation metrics to the Determined master
  during trial tasks.
class_docstr_tok: ["``","TrainContext","``","gives","access","to","report","training","and","validation","metrics","to","the","Determined","master","during","trial","tasks","."]
docstr: Get TensorBoard log directory path.
docstr_tok: ["Get","TensorBoard","log","directory","path","."]
code: def get_tensorboard_path(self) -> pathlib.Path:
      """
      Get TensorBoard log directory path.
      """
      if self._tensorboard_manager is None:
          raise ValueError(
              "tensorboard manager is required for this method"
          )
      return self._tensorboard_manager.base_path
  
imports: import enum
  import logging
  import pathlib
  from typing import Any, Callable, Dict, List, Optional, Set
  import determined
  from determined import core, tensorboard
  from determined.common import api, util
  from determined.common.api import bindings, errors
label_desc: Use image node_id 8 for calling the TrainContext obj's underlying member method code with example usage: obj.get_tensorboard_path() and returns: self