1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief A header file for the PrimitiveInfo struct
8 * @file ie_primitive_info.hpp
18 #include "ie_tensor_info.hpp"
20 namespace InferenceEngine {
23 * @brief Structure with information about Primitive
25 struct PrimitiveInfo {
27 * @brief A shared pointer to PrimitiveInfo object
29 using Ptr = std::shared_ptr<PrimitiveInfo>;
32 * @brief Some internal id, could be used as a name
37 * @brief Implementation type of this kernel
42 * @brief Mainly the allocation of the output tensor
44 int iPreAllocatedMemory;
47 * @brief Vector of TensorInfo objects that are related to input tensors
49 std::vector<TensorInfo::Ptr> inputs;
52 * @brief Vector of TensorInfo object that are related to outputs tensors
54 std::vector<TensorInfo::Ptr> outputs;
57 * @brief Any other important textual information user might find interesting about this kernel
59 std::map<std::string, std::string> extraInfo;
62 } // namespace InferenceEngine