def METHOD_NAME():
    device = 'mixed' if args.device == 'gpu' else 'cpu'
    jpegs, _ = fn.readers.file(file_root=args.images_dir)
    images = fn.decoders.image(jpegs, device=device, output_type=types.RGB,
                               hw_decoder_load=args.hw_load, preallocate_width_hint=args.width_hint,
                               preallocate_height_hint=args.height_hint)
    return images