add cumulative_throughput for python (#11195)

This commit is contained in:
guozhong wang 2022-05-06 12:43:41 +08:00 committed by GitHub
parent 0a65f5f607
commit 870455675c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,10 @@ def parse_args():
args.add_argument('-c', '--path_to_cldnn_config', type=str, required=False,
help='Optional. Required for GPU custom kernels. Absolute path to an .xml file with the '
'kernels description.')
args.add_argument('-hint', '--perf_hint', type=str, required=False, default='', choices=['throughput', 'latency', 'none'],
help='Optional. Performance hint (latency or throughput or none). Performance hint allows the OpenVINO device to select the right network-specific settings.\n'
args.add_argument('-hint', '--perf_hint', type=str, required=False, default='', choices=['throughput', 'cumulative_throughput', 'latency', 'none'],
help='Optional. Performance hint (latency or throughput or cumulative_throughput or none). Performance hint allows the OpenVINO device to select the right network-specific settings.\n'
'\'throughput\': device performance mode will be set to THROUGHPUT. \n'
'\'cumulative_throughput\': device performance mode will be set to CUMULATIVE_THROUGHPUT. \n'
'\'latency\': device performance mode will be set to LATENCY. \n'
'\'none\': no device performance mode will be set. \n'
'Using explicit \'nstreams\' or other device-specific options, please set hint to \'none\'')