code: def arg_data_node(arg_data: ArgData):
      node = fn.external_source(
          dummy_source(arg_data.data), layout=arg_data.desc.layout
      )
      if arg_data.desc.dest_device == "gpu":
          node = node.gpu()
      expandable_prefix = arg_data.desc.expandable_prefix
      if expandable_prefix and expandable_prefix[0] == "F":
          node = fn.per_frame(node)
      return node
  
imports: import os
  import random
  import numpy
  from typing import List, Union, Callable, Optional
  from dataclasses import dataclass, field
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  from nvidia.dali import types
  import nvidia.dali.tensors
  from test_utils import get_dali_extra_path, check_batch
label_desc: Use image node_id 1 for calling a global function with example usage: arg_data_node(arg_data) and returns: node