code: def __call__(self, engine: Engine, action) -> None:
      epoch = engine.state.epoch
      batch_data = self.batch_transform(engine.state.batch)
      output_data = self.output_transform(engine.state.output)
  
      self.write_images(batch_data, output_data, epoch)
  
file_path: MONAILabel/monailabel/deepedit/handlers.py
imports: import logging
  from typing import TYPE_CHECKING, Any, Callable, Dict, Optional
  import numpy
  import torch
  from monai.config import IgniteInfo
  from monai.utils import min_version, optional_import
  from monai.visualize import plot_2d_or_3d_image
  from torch import distributed
  from torchvision.utils import make_grid
label_desc: Use image node_id 3 for calling the TensorBoard2DImageHandler obj's underlying member method code with example usage: obj.__call__(engine, action) without return types