def get_dlc_info(dlc_path: str, csv_path: str = None) -> str:
    """Get the info of a DLC file."""
    cmd = f"snpe-dlc-info -i {dlc_path}"
    if csv_path:
        cmd += f" -s {csv_path}"
    stdout, _ = SNPERunner(use_dev_tools=True).run(cmd)

    prefix = "DLC info for:"
    return prefix + stdout.split(prefix)[1]
Get the info of a DLC file.
olive/platform_sdk/qualcomm/snpe/tools/dev.py