24.08
|
Go to the documentation of this file.
20 const arm_compute::TensorInfo aclInput = armcomputetensorutils::BuildArmComputeTensorInfo(input);
21 const arm_compute::TensorInfo aclOutput = armcomputetensorutils::BuildArmComputeTensorInfo(output);
23 return arm_compute::CLSinLayer::validate(&aclInput, &aclOutput);
28 const arm_compute::CLCompileContext& clCompileContext)
33 arm_compute::ICLTensor& input = PolymorphicDowncast<ClTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
34 arm_compute::ICLTensor& output = PolymorphicDowncast<ClTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
38 m_SinLayer.configure(clCompileContext, &input, &output);
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
virtual void Execute() const override
#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.
std::vector< ITensorHandle * > m_Outputs
ElementwiseUnaryQueueDescriptor m_Data
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClSinWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
ClSinWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
std::vector< ITensorHandle * > m_Inputs