42 std::unique_ptr<Decoder<InType>> input0 = MakeDecoder<InType>(inputInfo0, inputs[0]->
Map());
43 std::unique_ptr<Decoder<InType>> input1 = MakeDecoder<InType>(inputInfo1, inputs[1]->
Map());
44 std::unique_ptr<Encoder<OutType>> output = MakeEncoder<OutType>(outputInfo, outputs[0]->
Map());
49 switch (
m_Data.m_Parameters.m_Operation)
53 AndFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
58 OrFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
63 throw InvalidArgumentException(std::string(
"Unsupported Logical Binary operation") +
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
RefLogicalBinaryWorkload(const LogicalBinaryQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
const TensorShape & GetShape() const
Copyright (c) 2021 ARM Limited and Contributors.
constexpr char const * GetLogicalBinaryOperationAsCString(LogicalBinaryOperation operation)
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
std::vector< ITensorHandle * > m_Inputs
std::vector< ITensorHandle * > m_Outputs
Contains information about TensorInfos of a layer.