aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_deepspeech_v0_4_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graph_deepspeech_v0_4_1.cpp')
-rw-r--r--examples/graph_deepspeech_v0_4_1.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/graph_deepspeech_v0_4_1.cpp b/examples/graph_deepspeech_v0_4_1.cpp
index cc65bf309d..b655452391 100644
--- a/examples/graph_deepspeech_v0_4_1.cpp
+++ b/examples/graph_deepspeech_v0_4_1.cpp
@@ -208,9 +208,10 @@ public:
// Finalize graph
GraphConfig config;
- config.num_threads = common_params.threads;
- config.use_tuner = common_params.enable_tuner;
- config.tuner_file = common_params.tuner_file;
+ config.num_threads = common_params.threads;
+ config.use_tuner = common_params.enable_tuner;
+ config.tuner_file = common_params.tuner_file;
+ config.convert_to_uint8 = (common_params.data_type == DataType::QASYMM8);
graph.finalize(common_params.target, config);