aboutsummaryrefslogtreecommitdiff
path: root/tests/DeepSpeechV1InferenceTest.hpp
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2020-09-28 11:56:35 +0100
committerJames Ward <james.ward@arm.com>2020-09-30 17:13:58 +0000
commit6d9f5c57fe80b3b3c08294ddd52062e107151a15 (patch)
treea5aeca515a6f81545d82939ca4031df8677aed12 /tests/DeepSpeechV1InferenceTest.hpp
parent156113cee2b869810092b42579c31c3b1fd910c5 (diff)
downloadarmnn-6d9f5c57fe80b3b3c08294ddd52062e107151a15.tar.gz
IVGCVSW-4519 Remove Boost Variant and apply_visitor variant
* replace boost::variant with mapbox::util::variant * replace boost::apply_visitor with mapbox::util::apply_visitor * replace boost::get with mapbox::util::get Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I38460cabbcd5e56d4d61151bfe3dcb5681ce696e
Diffstat (limited to 'tests/DeepSpeechV1InferenceTest.hpp')
-rw-r--r--tests/DeepSpeechV1InferenceTest.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/DeepSpeechV1InferenceTest.hpp b/tests/DeepSpeechV1InferenceTest.hpp
index 28d82bfc21..d859ba7505 100644
--- a/tests/DeepSpeechV1InferenceTest.hpp
+++ b/tests/DeepSpeechV1InferenceTest.hpp
@@ -38,13 +38,13 @@ public:
TestCaseResult ProcessResult(const InferenceTestOptions& options) override
{
armnn::IgnoreUnused(options);
- const std::vector<float>& output1 = boost::get<std::vector<float>>(this->GetOutputs()[0]); // logits
+ const std::vector<float>& output1 = mapbox::util::get<std::vector<float>>(this->GetOutputs()[0]); // logits
ARMNN_ASSERT(output1.size() == k_OutputSize1);
- const std::vector<float>& output2 = boost::get<std::vector<float>>(this->GetOutputs()[1]); // new_state_c
+ const std::vector<float>& output2 = mapbox::util::get<std::vector<float>>(this->GetOutputs()[1]); // new_state_c
ARMNN_ASSERT(output2.size() == k_OutputSize2);
- const std::vector<float>& output3 = boost::get<std::vector<float>>(this->GetOutputs()[2]); // new_state_h
+ const std::vector<float>& output3 = mapbox::util::get<std::vector<float>>(this->GetOutputs()[2]); // new_state_h
ARMNN_ASSERT(output3.size() == k_OutputSize3);
// Check each output to see whether it is the expected value