code: def max_range(dtype):
      if dtype == np.half or dtype == np.single or dtype == np.double:
          return 1.0
      else:
          return np.iinfo(dtype).max
  
imports: import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  import nvidia.dali.types
  import numpy
  from test_utils import compare_pipelines, python_function
  from test_utils import RandomDataIterator
  from sequences_test_utils import ArgCb, video_suite_helper
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: max_range(dtype) and returns: int, np