ie_tensor_info.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header file for the TensorInfo structure
7  *
8  * @file ie_tensor_info.hpp
9  */
10 
11 #pragma once
12 
13 #include <map>
14 #include <memory>
15 #include <string>
16 
17 #include <ie_api.h>
18 
19 namespace InferenceEngine {
20 
21 /**
22  * @deprecated Use ExecutableNetwork::GetExecGraphInfo to get information about an internal graph.
23  * @struct TensorInfo
24  * @brief This structure describes tensor information
25  */
26 struct INFERENCE_ENGINE_DEPRECATED("Use ExecutableNetwork::GetExecGraphInfo to get information about an internal graph") TensorInfo {
27  /**
28  * @brief A shared pointer to the TensorInfo object
29  */
30  IE_SUPPRESS_DEPRECATED_START
31  using Ptr = std::shared_ptr<TensorInfo>;
32  IE_SUPPRESS_DEPRECATED_END
33 
34  /**
35  * @brief A map of extra info:
36  * - memory layout BFYX, BXYF (enum)
37  * - size
38  * - precision
39  */
40  std::map<std::string, std::string> extraInfo;
41 };
42 
43 } // namespace InferenceEngine
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
std::map< std::string, std::string > extraInfo
A map of extra info:
Definition: ie_tensor_info.hpp:40
This structure describes tensor information.
Definition: ie_tensor_info.hpp:26
wrapper over IExecutableNetwork
Definition: ie_executable_network.hpp:30
The macro defines a symbol import/export mechanism essential for Microsoft Windows(R) OS...
std::shared_ptr< TensorInfo > Ptr
A shared pointer to the TensorInfo object.
Definition: ie_tensor_info.hpp:31