code: def pytorch_red_channel_op(in1, in2):
      return [t.narrow(2, 0, 1).squeeze() for t in in1], [
          t.narrow(2, 0, 1).squeeze() for t in in2
      ]
  
imports: import numpy
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  import random
  from functools import partial
  from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import fn, pipeline_def
  from nvidia.dali.python_function_plugin import current_dali_stream
label_desc: Use image node_id 11 for calling a global function with example usage: pytorch_red_channel_op(in1, in2) and returns: unknown,  unknown