from typing import List
from typing import Tuple
from typing import Dict
from typing import Any


def append_tune_config() -> List[Tuple[List[str], Dict[str, Any]]]:
    """Define the command line interface for TVM tuning.

    Returns
    -------
    actions: List[Tuple[List[str], Dict[str, Any]]]
        The AutoTVM tuning configs.
    """
    return [
        (
            ["-n", "--ntrial"],
            {"default": 3000, "type": int, "help": "Number of tuning trials for each workload"},
        ),
        (["--test"], {"default": 5, "type": int, "help": "Number of tests in one measurement"}),
        (
            ["--repeat"],
            {"default": 1, "type": int, "help": "Number of measurements for one config"},
        ),
        (["--min"], {"default": 1000, "type": int, "help": "Minimum repeat time (ms)"}),
    ]