24.02
|
Go to the documentation of this file.
20 using namespace armcomputetensorutils;
25 const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input);
26 const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output);
28 return arm_compute::CLQuantizationLayer::validate(&aclInputInfo,
34 const arm_compute::CLCompileContext& clCompileContext)
44 m_Layer.configure(clCompileContext, &input, &output);
arm_compute::Status ClQuantizeWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
ClQuantizeWorkload(const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
#define ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
Contains information about TensorInfos of a layer.
void Execute() const override
std::vector< ITensorHandle * > m_Outputs
QuantizeQueueDescriptor m_Data
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Inputs