22.08
|
#include "EthosnRefWorkloadUtils.hpp"
#include "TensorBufferArrayView.hpp"
#include <armnn/Tensor.hpp>
#include <armnnUtils/DataLayoutIndexed.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <cmath>
#include <limits>
Go to the source code of this file.
Classes | |
struct | EthosnRefQuantizedMultiplierSmallerThanOne |
Performs multiplication of an integer with a multiplier which is less than one, using quantized integer arithmetic which is consistent with AndroidNN's CPU executor. More... | |
struct | hw_float |
Namespaces | |
armnn | |
Copyright (c) 2021 ARM Limited and Contributors. | |
Functions | |
uint32_t | one_mask (const uint8_t size) |
bool | bit_extract (const uint8_t pos, const uint32_t val) |
uint32_t | bit_field (const uint8_t high_bit, const uint8_t low_bit, const uint32_t val) |
uint32_t | wtfp_round_mantissa (const uint32_t unshifted_mantissa, const uint32_t exp) |
struct hw_float | convert_to_S12E8M (const int32_t val) |
struct hw_float | convert_to_S13E8M (const int32_t val) |
int64_t | ShiftRound (int64_t value, bool round=false) |