Files
openvino/tools/benchmark_tool
Zlobin Vladimir e965bea8fe benchmark_app: allow dla_benchmark for FPGA to override show_available_devices() for --help (#20945)
It's possible now to have in main.py:
parser = parse_args()
import argparse, openvino
core = openvino.Core()
class print_help(argparse.Action):
    def __call__(self, parser, namespace, values, option_string):
        parser.print_help()
        print("\nAvailable target devices:  ", ("  ".join(core.available_devices)))
        sys.exit()
parser.add_argument('-h', '--help', action=print_help, nargs='?', default=argparse.SUPPRESS, help='Show this help message and exit.')
args = parser.parse_args()

The details are in https://github.com/openvinotoolkit/openvino/pull/20098
2023-11-20 13:00:37 +04:00
..
2023-09-21 22:03:09 +04:00