Publishing R3
[platform/upstream/dldt.git] / inference-engine / src / inference_engine / parsers.h
1 // Copyright (C) 2018 Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5
6 #pragma once
7
8 #include <ie_icnn_network.hpp>
9 #include "cnn_network_impl.hpp"
10
11 namespace pugi {
12 class xml_node;
13 }  // namespace pugi
14
15 namespace InferenceEngine {
16 namespace details {
17 struct IFormatParser {
18     virtual ~IFormatParser() {}
19
20     virtual CNNNetworkImplPtr Parse(pugi::xml_node &root) = 0;
21
22     virtual void SetWeights(const TBlob<uint8_t>::Ptr &weights) = 0;
23 };
24 }  // namespace details
25 }  // namespace InferenceEngine