def _get_conversion_arg_str(arg_type: str, input_names: list[str], input_values: list[str]):
    """Get conversion argument string for snpe dlc converter tools.

    arg_type: "-d", "-t", or "-l" for input shapes, types, and layouts respectively.
    input_names: list of input names.
    input_values: list of input values. Values can be None. If so, the corresponding input will be skipped
    """
    valid_arg_types = ["-d", "-t", "-l"]
    if arg_type not in valid_arg_types:
        raise ValueError(f"Invalid arg_type: {arg_type}. Valid args are: {valid_arg_types}")

    arg_str = ""
    if input_values is None:
        return arg_str

    for name, value in zip(input_names, input_values):
        if value is None:
            continue  # skip this input
        if arg_type == "-d":
            # convert shape list to string
            # e.g. [1, 3, 224, 224] -> "1,3,224,224"
            value_str = ",".join([str(v) for v in value])
        else:
            value_str = value
        arg_str += f" {arg_type} {name} {value_str}"

    return arg_str.lstrip()
Get conversion argument string for snpe dlc converter tools.

    arg_type: "-d", "-t", or "-l" for input shapes, types, and layouts respectively.
    input_names: list of input names.
    input_values: list of input values. Values can be None. If so, the corresponding input will be skipped
    
olive/platform_sdk/qualcomm/snpe/tools/dev.py