Publishing 2019 R1.1 content and Myriad plugin sources (#162)
[platform/upstream/dldt.git] / inference-engine / src / vpu / myriad_plugin / myriad_config.h
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include <map>
8 #include <string>
9 #include <unordered_set>
10
11 #include <vpu/parsed_config.hpp>
12
13 #include <mvnc.h>
14
15 namespace vpu {
16 namespace MyriadPlugin {
17
18 struct MyriadConfig final : ParsedConfig {
19     ncDevicePlatform_t platform;
20     int  watchdogInterval = 1000;
21     explicit MyriadConfig(const std::map<std::string, std::string> &config = std::map<std::string, std::string>(),
22                           ConfigMode mode = ConfigMode::DEFAULT_MODE);
23
24 private:
25     std::unordered_set<std::string> getRuntimeOptions() const final;
26     void checkInvalidValues(const std::map<std::string, std::string> &config) const final;
27 };
28
29 }  // namespace MyriadPlugin
30 }  // namespace vpu