def METHOD_NAME(mod, params, target, target_host=None, ops=None):
    """Extract tuning tasks from a relay program.
    This function is the single program version of extract_from_multiple_program.
    Parameters
    ----------
    mod: tvm.IRModule or relay.function.Function
        The module or function to tune
    params: dict of str to numpy array
        The associated parameters of the program
    target: tvm.target.Target
        The compilation target
    target_host: tvm.target.Target
        The host compilation target
    ops: List[tvm.ir.Op] or None
        List of relay ops to be tuned. If not specified, all tunable ops will be extracted.
    Returns
    -------
    task: Array of autotvm.task.Task
        collected tasks
    """
    target, target_host = Target.canon_target_and_host(target, target_host)
    return extract_from_multiple_program([mod], [params], target, ops=ops)