ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Utils.cpp File Reference
#include "kernels/Utils.h"
#include <cassert>
#include <cmath>
#include <limits>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  luci_interpreter
 
namespace  luci_interpreter::kernels
 

Functions

TfLiteFusedActivation luci_interpreter::kernels::getTfLiteActivation (Activation activation)
 
template<typename T >
void luci_interpreter::kernels::calculateActivationRange (Activation activation, T *activation_min, T *activation_max)
 
template void luci_interpreter::kernels::calculateActivationRange (Activation activation, float *activation_min, float *activation_max)
 
template void luci_interpreter::kernels::calculateActivationRange (Activation activation, int32_t *activation_min, int32_t *activation_max)
 
template void luci_interpreter::kernels::calculateActivationRange (Activation activation, int64_t *activation_min, int64_t *activation_max)
 
void luci_interpreter::kernels::calculateActivationRangeQuantized (Activation activation, const Tensor *output, int32_t *activation_min, int32_t *activation_max)
 
void luci_interpreter::kernels::quantizeMultiplier (double double_multiplier, int32_t *quantized_multiplier, int *shift)
 
void luci_interpreter::kernels::quantizeMultiplierSmallerThanOneExp (double double_multiplier, int32_t *quantized_multiplier, int *left_shift)
 
Shape luci_interpreter::kernels::calculateShapeForBroadcast (const Shape &input1_shape, const Shape &input2_shape)