def METHOD_NAME():
    parser = ArgumentParser(description='Utility for converting datasets to ffcv format.')
    parser.add_argument('--dataset',
                        type=str,
                        default='cifar10',
                        choices=['cifar10', 'imagenet1k'],
                        help=textwrap.dedent("""\
                                Dataset to use. Default: cifar10"""))
    parser.add_argument('--remote',
                        type=str,
                        help=textwrap.dedent("""\
                                Remote directory (S3 or local filesystem) where dataset is stored., Example: s3://my-s3-bucket-name"""
                                            ))
    parser.add_argument('--local',
                        type=str,
                        default=None,
                        help=textwrap.dedent("""\
                                Local filesystem directory where dataset is cached during operation. Default: None"""))
    parser.add_argument('--split',
                        type=str,
                        default='train',
                        choices=['train', 'val'],
                        help=textwrap.dedent("""\
                                Split to use. Default: train"""))
    parser.add_argument('--datadir',
                        type=str,
                        default=None,
                        help=textwrap.dedent("""\
                                Location of the dataset. Default: None"""))
    parser.add_argument('--download',
                        type=bool,
                        default=False,
                        help=textwrap.dedent("""\
                                Download the dataset if possible. Default: False"""))
    parser.add_argument('--write_path',
                        type=str,
                        default=None,
                        help=textwrap.dedent("""\
                                File path to use for writing the dataset. Default: /tmp/<dataset>_<split>.ffcv"""))
    parser.add_argument('--write_mode',
                        type=str,
                        default='proportion',
                        choices=['raw', 'jpg', 'smart', 'proportion'],
                        help=textwrap.dedent("""\
                                Write mode to use. raw is uint8 values, jpg is jpeg compressed images, smart is
                                compressing based on image size and proportion is according to the given
                                compress_probability. Default: proportion"""))
    parser.add_argument('--max_resolution', type=int, default=500, help='Max resoultion for images.')
    parser.add_argument('--num_workers', type=int, default=64, help='Number of workers to use.')
    parser.add_argument('--chunk_size', type=int, default=100, help='Chunk size to use.')
    parser.add_argument('--jpeg_quality', type=int, default=90, help='Quality of jpeg.')
    parser.add_argument('--subset', type=int, default=-1, help='Only use a subset of dataset.')
    parser.add_argument('--compress_probability',
                        type=float,
                        required=False,
                        default=0.50,
                        help='Compress the given fraction of images to jpeg while writing the ffcv dataset.')
    return parser