code: def _notify_tensorboard_logdir(
      logdir: str, save: bool = True, root_logdir: str = ""
  ) -> None:
      if wandb.run is not None:
          wandb.run._tensorboard_callback(
              logdir, save=save, root_logdir=root_logdir
          )
  
file_path: wandb/wandb/integration/tensorboard/monkeypatch.py
imports: import os
  import re
  import socket
  from typing import Any, Optional
  import wandb
  import wandb.util
label_desc: Use image node_id 5 for calling a global function with example usage: _notify_tensorboard_logdir(logdir, save, root_logdir) without return types