// // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "SpeechRecognitionPipeline.hpp" #include "ArmnnNetworkExecutor.hpp" namespace asr { ASRPipeline::ASRPipeline(std::unique_ptr> executor, std::unique_ptr decoder ) : m_executor(std::move(executor)), m_decoder(std::move(decoder)){} IPipelinePtr CreatePipeline(common::PipelineOptions& config, std::map& labels) { auto executor = std::make_unique>(config.m_ModelFilePath, config.m_backends); auto decoder = std::make_unique(labels); return std::make_unique(std::move(executor), std::move(decoder)); } }// namespace asr