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