24.08
|
Go to the documentation of this file.
46 std::unique_ptr<Decoder<InType>> input = MakeDecoder<InType>(inputInfo, inputs[0]->
Map());
47 std::unique_ptr<Encoder<OutType>> output = MakeEncoder<OutType>(outputInfo, outputs[0]->
Map());
55 NotFunction(inShape, outShape, *input, *output);
60 throw InvalidArgumentException(std::string(
"Unsupported Logical Unary operation") +
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
RefLogicalUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
std::vector< ITensorHandle * > m_Outputs
UnaryOperation m_Operation
Specifies the elementwiseUnary operation to execute.
void Execute() const override
ElementwiseUnaryQueueDescriptor m_Data
constexpr char const * GetUnaryOperationAsCString(UnaryOperation operation)
const TensorShape & GetShape() const
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
void ExecuteAsync(ExecutionData &executionData) override
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs