ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::cker::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::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >

Definition at line 508 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::cker::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::cker::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 537 of file Types.h.

Referenced by nnfw::cker::ruy_support::MakeRuyMulParams(), and nnfw::cker::detail::GemmImplUsingEigen::Run().

◆ clamp_min

template<typename AccumScalar , typename DstScalar , QuantizationFlavor quantization_flavor = std::is_floating_point<AccumScalar>::value ? QuantizationFlavor::kFloatingPoint : QuantizationFlavor::kIntegerWithUniformMultiplier>
DstScalar nnfw::cker::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 533 of file Types.h.

Referenced by nnfw::cker::ruy_support::MakeRuyMulParams(), and nnfw::cker::detail::GemmImplUsingEigen::Run().

◆ multiplier_exponent

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

Definition at line 516 of file Types.h.

Referenced by nnfw::cker::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::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_exponent_perchannel = nullptr

Definition at line 529 of file Types.h.

Referenced by nnfw::cker::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::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint = 0

Definition at line 513 of file Types.h.

Referenced by nnfw::cker::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::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint_perchannel = nullptr

Definition at line 521 of file Types.h.

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


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