1 // Copyright (C) 2018 Intel Corporation
3 // SPDX-License-Identifier: Apache-2.0
7 * @brief A header file for the PrimitiveInfo struct
8 * @file ie_primitive_info.hpp
13 #include "ie_tensor_info.hpp"
19 namespace InferenceEngine {
21 struct PrimitiveInfo {
22 using Ptr = std::shared_ptr<PrimitiveInfo>;
24 std::string sId; // some internal id, could be used as a name
25 std::string sType; // implementation type of this kernel
26 int iPreAllocatedMemory; // mainly the allocation of the output tensor
28 std::vector<TensorInfo::Ptr> inputs;
29 std::vector<TensorInfo::Ptr> outputs;
31 std::map<std::string, std::string> extraInfo; // any other important textual information user might find interesting about this kernel
34 } // namespace InferenceEngine