20 template <
typename Functor,
typename ParentDescriptor,
typename armnn::StringMapping::Id DebugString>
22 const ParentDescriptor& desc,
28 template <
typename Functor,
typename ParentDescriptor,
typename armnn::StringMapping::Id DebugString>
31 Execute(m_Data.m_Inputs, m_Data.m_Outputs);
34 template <
typename Functor,
typename ParentDescriptor,
typename armnn::StringMapping::Id DebugString>
36 std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs)
const
47 std::unique_ptr<Decoder<InType>> input0 = MakeDecoder<InType>(inputInfo0, inputs[0]->
Map());
48 std::unique_ptr<Decoder<InType>> input1 = MakeDecoder<InType>(inputInfo1, inputs[1]->
Map());
49 std::unique_ptr<Encoder<OutType>> output= MakeEncoder<OutType>(outputInfo, outputs[0]->
Map());
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
RefElementwiseWorkload(const ParentDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
const TensorShape & GetShape() const
Copyright (c) 2021 ARM Limited and Contributors.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
static const StringMapping & Instance()
@ RefSubtractionWorkload_Execute
@ RefAdditionWorkload_Execute
@ RefDivisionWorkload_Execute
@ RefMinimumWorkload_Execute
@ RefMultiplicationWorkload_Execute
@ RefMaximumWorkload_Execute
Contains information about TensorInfos of a layer.