INNER CODE UNIT · Python

add_model_arguments

neuralmagic/sparsezoo · src/sparsezoo/main.py:185

def add_model_arguments(parser, download_required=False):
    parser.add_argument(
        "--domain",
        type=str,
        required=True,
        help="The domain of the model the object belongs to; e.g. cv, nlp",
    )
    parser.add_argument(
        "--sub-domain",
        type=str,
        required=True,
        help="The sub domain of the model the object belongs to; "
        "e.g. classification, segmentation",
    )
    parser.add_argument(
        "--architecture",
        type=str,
        required=download_required,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…