ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::QuantizeBias Struct Referencefinal

QuantizeBias quantizes tensors for bias. More...

#include <QuantizeBias.h>

Collaboration diagram for luci::QuantizeBias:

Public Member Functions

 QuantizeBias (loco::DataType input, loco::DataType output, QuantizationGranularity gr)
 
- Public Member Functions inherited from luci::CircleNodeMutableVisitor< void >
virtual ~CircleNodeMutableVisitor ()=default
 
- Public Member Functions inherited from luci::CircleNodeMutableVisitorBase< T >
virtual ~CircleNodeMutableVisitorBase ()=default
 

Data Fields

loco::DataType input_type
 
loco::DataType output_type
 
QuantizationGranularity granularity
 

Detailed Description

QuantizeBias quantizes tensors for bias.

Use input/weights scale to quantize values

Definition at line 30 of file QuantizeBias.h.

Constructor & Destructor Documentation

◆ QuantizeBias()

luci::QuantizeBias::QuantizeBias ( loco::DataType  input,
loco::DataType  output,
QuantizationGranularity  gr 
)
inline

Definition at line 32 of file QuantizeBias.h.

33 : input_type(input), output_type(output), granularity(gr)
34 {
35 }
loco::DataType input_type
QuantizationGranularity granularity
loco::DataType output_type

Field Documentation

◆ granularity

QuantizationGranularity luci::QuantizeBias::granularity

Definition at line 39 of file QuantizeBias.h.

◆ input_type

loco::DataType luci::QuantizeBias::input_type

Definition at line 37 of file QuantizeBias.h.

◆ output_type

loco::DataType luci::QuantizeBias::output_type

Definition at line 38 of file QuantizeBias.h.


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