ie_tensor_info.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header file for the TensorInfo structure
7  * @file ie_tensor_info.hpp
8  */
9 
10 #pragma once
11 
12 #include <string>
13 #include <memory>
14 #include <map>
15 
16 namespace InferenceEngine {
17 
18 /**
19 * @struct TensorInfo
20 * @brief This structure describes tensor information
21 */
22 struct TensorInfo {
23  /**
24  * @brief A shared pointer to the TensorInfo object
25  */
26  using Ptr = std::shared_ptr<TensorInfo>;
27 
28  /**
29  * @brief A map of extra info:
30  * - memory layout BFYX, BXYF (enum)
31  * - size
32  * - precision
33  */
34  std::map<std::string, std::string> extraInfo;
35 };
36 
37 } // namespace InferenceEngine
Definition: ie_argmax_layer.hpp:11
std::map< std::string, std::string > extraInfo
A map of extra info:
Definition: ie_tensor_info.hpp:34
This structure describes tensor information.
Definition: ie_tensor_info.hpp:22
std::shared_ptr< TensorInfo > Ptr
A shared pointer to the TensorInfo object.
Definition: ie_tensor_info.hpp:26