code: def test_image_decoder_slice_alias():
      data_path = os.path.join(test_data_root, good_path, "jpeg")
      new_op, old_op = fn.decoders.image_slice, fn.image_decoder_slice
      for device in ["cpu", "mixed"]:
          for use_fast_idct in [True, False]:
              yield check_image_decoder_slice_alias, new_op, old_op, data_path, device, use_fast_idct
  
imports: import glob
  import math
  import numpy
  import nvidia.dali.backend
  import nvidia.dali.fn
  import nvidia.dali.types
  import os
  import random
  from nvidia.dali import pipeline_def
  from nose2.tools import params
  from nose_utils import assert_raises
  from test_utils import check_output_pattern
  from test_utils import compare_pipelines
  from test_utils import get_dali_extra_path
  from test_utils import to_array
label_desc: Use image node_id 25 for calling a global function with example usage: test_image_decoder_slice_alias() without return types