24.08
|
Go to the documentation of this file.
22 using namespace armcomputetensorutils;
29 const arm_compute::TensorInfo aclInput0Info = BuildArmComputeTensorInfo(input0);
30 const arm_compute::TensorInfo aclInput1Info = BuildArmComputeTensorInfo(input1);
31 const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output);
44 const arm_compute::CLCompileContext& clCompileContext)
63 m_ComparisonLayer.configure(clCompileContext, &input0, &input1, &output, comparisonOperation);
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
ClComparisonWorkload(const ComparisonQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
LayerDescriptor m_Parameters
#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.
arm_compute::Status ClComparisonWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ComparisonDescriptor &descriptor)
void Execute() const override
arm_compute::ComparisonOperation ConvertComparisonOperationToAcl(const ComparisonDescriptor &descriptor)
std::vector< ITensorHandle * > m_Outputs
A ComparisonDescriptor for the ComparisonLayer.
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
ComparisonQueueDescriptor m_Data
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Inputs