def METHOD_NAME(func: Expr, args: Tuple) -> Call:
    """Construct a Call to call_tir_dyn (invoke the given TIR PrimFunc)
    consisting of the input tensors and the shape of the result.
    Parameters
    ----------
    func : Expr
        An expression evaluating to a TIR PrimFunc.
    args : Tuple
        The input args, includes a list of tensors, and a ShapeExpr.
    Returns
    -------
    result : Call
        A relax Call to call_tir_dyn.
    """
    if isinstance(args, (list, tuple)):
        args = Tuple(args)
    return _ffi_api.METHOD_NAME(func, args)  # type: ignore