From 351d13d0b5fa698b72130012b2f069d30b911cb3 Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Mon, 24 Sep 2018 15:01:18 +0100 Subject: IVGCVSW-1888 Plumb data layout parameter for Convolution2D * Added the DataLayout parameter to the Convolution2dDescriptor * Added the DataLayout parameter the Convolution2dQueueDescriptor * Set the DataLayout on the Descriptor in CreateWorkload() * Added overloaded factory methods for CreateTensorHandle() * Updated BuildArmComputeTensorInfo() to take DataLayout parameter. * Updated handles to take DataLayout parameter * Updated (Cl/Neon)Convolution2dWorkloadValidate * Updated (Cl/Neon)Convolution2dFloatWorkload * Updated (Cl/Neon)Convolution2dUint8Workload Change-Id: I8410668b3d727ca587bee66755cc4c4c78422f1f --- src/backends/OutputHandler.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/backends/OutputHandler.hpp') diff --git a/src/backends/OutputHandler.hpp b/src/backends/OutputHandler.hpp index dfc01844c9..97da87d8cc 100644 --- a/src/backends/OutputHandler.hpp +++ b/src/backends/OutputHandler.hpp @@ -39,6 +39,11 @@ public: /// @param factory - Factory to be used for handler creation. void CreateTensorHandles(const IWorkloadFactory& factory); + /// @brief - Creates tensor handlers used by the intermediate tensors. Does not allocate memory. + /// @param factory - Factory to be used for handler creation. + /// @param dataLayout - Data Layout to be used for handler creation. + void CreateTensorHandles(const IWorkloadFactory& factory, DataLayout dataLayout); + /// @brief - Gets the matching TensorInfo for the output. /// @return - References to the output TensorInfo. const TensorInfo& GetTensorInfo() const { return m_TensorInfo; } -- cgit v1.2.1