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  * This API will be removed in 2021.1 release.
24  * @struct TensorInfo
25  * @brief This structure describes tensor information
26  */
27 struct INFERENCE_ENGINE_DEPRECATED("Use ExecutableNetwork::GetExecGraphInfo to get information about an internal graph") TensorInfo {
28  /**
29  * @brief A shared pointer to the TensorInfo object
30  */
31  IE_SUPPRESS_DEPRECATED_START
32  using Ptr = std::shared_ptr<TensorInfo>;
33  IE_SUPPRESS_DEPRECATED_END
34 
35  /**
36  * @brief A map of extra info:
37  * - memory layout BFYX, BXYF (enum)
38  * - size
39  * - precision
40  */
41  std::map<std::string, std::string> extraInfo;
42 };
43 
44 } // 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:41
This structure describes tensor information.
Definition: ie_tensor_info.hpp:27
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:32