ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor > Struct Template Reference

#include <Types.h>

Data Fields

AccumScalar multiplier_fixedpoint = 0
 
int multiplier_exponent = 0
 
const AccumScalar * multiplier_fixedpoint_perchannel = nullptr
 
const int * multiplier_exponent_perchannel = nullptr
 
const AccumScalar * bias = nullptr
 
DstScalar clamp_min
 
DstScalar clamp_max
 

Detailed Description

template<typename AccumScalar, typename DstScalar, QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
struct nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >

Definition at line 193 of file Types.h.

Field Documentation

◆ bias

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
const AccumScalar* nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::bias = nullptr

◆ clamp_max

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
DstScalar nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::clamp_max
Initial value:
= std::is_floating_point<DstScalar>::value
? std::numeric_limits<DstScalar>::infinity()
: std::numeric_limits<DstScalar>::max()

Definition at line 222 of file Types.h.

Referenced by nnfw::ruy::FullyConnected(), nnfw::ruy::ruy_support::MakeRuyMulParams(), and nnfw::ruy::ruy_support::MakeRuyMulParams().

◆ clamp_min

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
DstScalar nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::clamp_min
Initial value:
= std::is_floating_point<DstScalar>::value
? -std::numeric_limits<DstScalar>::infinity()
: std::numeric_limits<DstScalar>::lowest()

Definition at line 218 of file Types.h.

Referenced by nnfw::ruy::FullyConnected(), nnfw::ruy::ruy_support::MakeRuyMulParams(), and nnfw::ruy::ruy_support::MakeRuyMulParams().

◆ multiplier_exponent

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
int nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_exponent = 0

Definition at line 201 of file Types.h.

Referenced by nnfw::ruy::ruy_support::MakeRuyMulParams().

◆ multiplier_exponent_perchannel

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
const int* nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_exponent_perchannel = nullptr

Definition at line 214 of file Types.h.

Referenced by nnfw::ruy::ruy_support::MakeRuyMulParams().

◆ multiplier_fixedpoint

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
AccumScalar nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint = 0

Definition at line 198 of file Types.h.

Referenced by nnfw::ruy::ruy_support::MakeRuyMulParams().

◆ multiplier_fixedpoint_perchannel

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
const AccumScalar* nnfw::ruy::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint_perchannel = nullptr

Definition at line 206 of file Types.h.

Referenced by nnfw::ruy::ruy_support::MakeRuyMulParams().


The documentation for this struct was generated from the following file: