24.08
|
Go to the documentation of this file.
21 const arm_compute::TensorInfo aclInput = armcomputetensorutils::BuildArmComputeTensorInfo(input);
22 const arm_compute::TensorInfo aclOutput = armcomputetensorutils::BuildArmComputeTensorInfo(output);
24 return arm_compute::CLAbsLayer::validate(&aclInput, &aclOutput);
29 const arm_compute::CLCompileContext& clCompileContext)
34 arm_compute::ICLTensor& input = PolymorphicDowncast<ClTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
35 arm_compute::ICLTensor& output = PolymorphicDowncast<ClTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
38 m_AbsLayer.configure(clCompileContext, &input, &output);
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
ClAbsWorkload(const AbsQueueDescriptor &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.
virtual void Execute() const override
std::vector< ITensorHandle * > m_Outputs
AbsQueueDescriptor m_Data
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClAbsWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
std::vector< ITensorHandle * > m_Inputs