24.02
|
Go to the documentation of this file.
32 std::unique_ptr<Decoder<float>> decoderPtr = MakeDecoder<float>(inputTensorInfo, inputs[0]->
Map());
36 std::unique_ptr<Encoder<float>> encoderPtr = MakeEncoder<float>(outputTensorInfo, outputs[0]->
Map());
41 for (
unsigned int i = 0; i < numElements; ++i)
43 encoder.
Set(floorf(decoder.
Get()));
unsigned int GetNumElements() const
virtual void Set(IType right)=0
void Execute() const override
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
void ExecuteAsync(ExecutionData &executionData) override
std::vector< ITensorHandle * > m_Outputs
virtual IType Get() const =0
FloorQueueDescriptor m_Data
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs