// // Copyright © 2022 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include #include namespace armnn { /// Contains information about TensorInfos of a layer. /// This is needed at construction of workloads, but are not stored. struct WorkloadInfo { std::vector m_InputTensorInfos; std::vector m_OutputTensorInfos; Optional m_WeightsTensorInfo = EmptyOptional(); Optional m_BiasTensorInfo = EmptyOptional(); Optional m_ConvolutionMethod = EmptyOptional(); }; struct MemoryInfo { unsigned int m_OutputSlotIndex; size_t m_Size{ 0 }; size_t m_Alignment{ 64 }; }; struct MemoryRequirements { armnn::Optional> m_IntraLayerTensors; }; } //namespace armnn