code: def publish_to_tensorboard(self, metrics, step):
      for metric_name, metric_value in metrics.items():
          metric_name = "{}/{}".format(
              metric_name.replace(self._stage + "_", ""), self._stage
          )
          self._writer.add_scalar(metric_name, metric_value, step)
  
imports: import os
  import torchnet
  import torch
  from typing import Dict, Any
  import wandb
  from torch.utils.tensorboard import SummaryWriter
  import logging
  from torch_points3d.models import model_interface
label_desc: Use image node_id 9 for calling the BaseTracker obj's underlying member method code with example usage: obj.publish_to_tensorboard(metrics, step) without return types