aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_resnet_v2_50.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graph_resnet_v2_50.cpp')
-rw-r--r--examples/graph_resnet_v2_50.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/graph_resnet_v2_50.cpp b/examples/graph_resnet_v2_50.cpp
index 472bf02b47..cd4e6fd6df 100644
--- a/examples/graph_resnet_v2_50.cpp
+++ b/examples/graph_resnet_v2_50.cpp
@@ -114,12 +114,13 @@ public:
// Finalize graph
GraphConfig config;
- config.num_threads = common_params.threads;
- config.use_tuner = common_params.enable_tuner;
- config.tuner_mode = common_params.tuner_mode;
- config.tuner_file = common_params.tuner_file;
- config.mlgo_file = common_params.mlgo_file;
- config.convert_to_uint8 = (common_params.data_type == DataType::QASYMM8);
+ config.num_threads = common_params.threads;
+ config.use_tuner = common_params.enable_tuner;
+ config.tuner_mode = common_params.tuner_mode;
+ config.tuner_file = common_params.tuner_file;
+ config.mlgo_file = common_params.mlgo_file;
+ config.use_synthetic_type = arm_compute::is_data_type_quantized(common_params.data_type);
+ config.synthetic_type = common_params.data_type;
graph.finalize(common_params.target, config);