class_docstr: SharedFSTensorboardManager stores tfevent logs from a shared file system.
  The host_path must be present on each agent machine.
class_docstr_tok: ["SharedFSTensorboardManager","stores","tfevent","logs","from","a","shared","file","system",".","The","host_path","must","be","present","on","each","agent","machine","."]
code: def __init__(
      self, storage_path: str, *args: Any, **kwargs: Any
  ) -> None:
      super().__init__(*args, **kwargs)
      self.storage_path = pathlib.Path(storage_path)
      self.shared_fs_base = self.storage_path.joinpath(self.sync_path)
  
      # Set umask to 0 in order that the storage dir allows future containers of any owner to
      # create new checkpoints. Administrators wishing to control the permissions more
      # specifically should just create the storage path themselves; this will not interfere.
      old_umask = os.umask(0)
      self.shared_fs_base.mkdir(parents=True, exist_ok=True, mode=0o777)
      # Restore the original umask.
      os.umask(old_umask)
  
file_path: determined/harness/determined/tensorboard/shared.py
imports: import logging
  import os
  import pathlib
  import shutil
  from typing import Any, List
  from determined import util
  from determined.tensorboard import base
label_desc: Use image node_id 1 to create a new SharedFSTensorboardManager object from inherited base classes: base with example: obj = SharedFSTensorboardManager(storage_path)