code: def detach_tensor(tensor):
      if torch.torch.is_tensor(tensor):
          tensor = tensor.detach()
      return tensor
  
file_path: torch-points3d/torch_points3d/metrics/segmentation_tracker.py
imports: from typing import Dict, Any
  import torch
  import wandb
  import numpy
  from torch_points3d.metrics.confusion_matrix import ConfusionMatrix
  from torch_points3d.metrics.base_tracker import BaseTracker, meter_value
  from torch_points3d.metrics.meters import APMeter
  from torch_points3d.datasets.segmentation import IGNORE_LABEL
  from torch_points3d.models import model_interface
label_desc: Use image node_id 3 for calling the SegmentationTracker obj's underlying member method code with example usage: obj.detach_tensor(tensor) and returns: tensor