code: def torch_batch_operation(tensors):
      out = [torch_operation(t) for t in tensors]
      return [p[0] for p in out], [p[1] for p in out]
  
imports: import numpy
  import nvidia.dali.ops
  import nvidia.dali.plugin.pytorch
  import nvidia.dali.types
  import os
  import torch
  from nvidia.dali.pipeline import Pipeline
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 2 for calling a global function with example usage: torch_batch_operation(tensors) and returns: unknown,  unknown