24.02
|
Go to the documentation of this file.
19 const arm_compute::TensorInfo aclInput = armcomputetensorutils::BuildArmComputeTensorInfo(input);
20 const arm_compute::TensorInfo aclOutput = armcomputetensorutils::BuildArmComputeTensorInfo(output);
22 return arm_compute::NENegLayer::validate(&aclInput, &aclOutput);
30 arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
31 arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
33 m_NegLayer.configure(&input, &output);
arm_compute::Status NeonNegWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
Contains information about TensorInfos of a layer.
virtual void Execute() const override
std::vector< ITensorHandle * > m_Outputs
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
ElementwiseUnaryQueueDescriptor m_Data
Copyright (c) 2021 ARM Limited and Contributors.
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
std::vector< ITensorHandle * > m_Inputs