From f5123d4bb27ef2b09da2a17672136e08b3cea346 Mon Sep 17 00:00:00 2001 From: Howave Date: Mon, 14 Jan 2019 15:35:41 +0800 Subject: [PATCH] fix typo for host benchmark command (#304) --- tools/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/device.py b/tools/device.py index 48474c9c..679d09e8 100644 --- a/tools/device.py +++ b/tools/device.py @@ -763,13 +763,13 @@ class DeviceWrapper: '--input_node=%s' % ','.join(input_nodes), '--output_node=%s' % ','.join(output_nodes), '--input_shape=%s' % ':'.join(input_shapes), - '--output_shapes=%s' % ':'.join(output_shapes), + '--output_shape=%s' % ':'.join(output_shapes), '--input_file=%s/%s' % (model_output_dir, input_file_name), '--model_data_file=%s/%s.data' % (mace_model_dir, model_tag), '--device=%s' % device_type, '--omp_num_threads=%s' % omp_num_threads, - '--cpu_addinity_policy=%s' % cpu_affinity_policy, + '--cpu_affinity_policy=%s' % cpu_affinity_policy, '--gpu_perf_hint=%s' % gpu_perf_hint, '--gpu_priority_hint=%s' % gpu_priority_hint, '--model_file=%s' % mace_model_path -- GitLab