Struct for scale values.
More...
#include <type.h>
|
| float | operator[] (int i) const |
| | Returns the scale value at the specified index.
|
Struct for scale values.
Definition at line 98 of file type.h.
◆ operator[]()
| float mobilint::Scale::operator[] |
( |
int | i | ) |
const |
|
inline |
Returns the scale value at the specified index.
- Parameters
-
- Returns
- Scale value.
Definition at line 113 of file type.h.
◆ scale_list
| std::vector<float> mobilint::Scale::scale_list |
List of scale values for non-uniform scaling.
Definition at line 99 of file type.h.
◆ scale
| float mobilint::Scale::scale = 0.0F |
Uniform scale value
Definition at line 100 of file type.h.
◆ is_uniform
| bool mobilint::Scale::is_uniform = false |
Indicates whether uniform scaling is used.
Definition at line 101 of file type.h.
◆ zero_points
| std::vector<int8_t> mobilint::Scale::zero_points |
Per-channel zero points for asymmetric quantization.
Definition at line 103 of file type.h.
◆ zero_point
| int8_t mobilint::Scale::zero_point = 0 |
Uniform zero point for asymmetric quantization.
Definition at line 104 of file type.h.
◆ is_asymmetric
| bool mobilint::Scale::is_asymmetric = false |
Indicates whether asymmetric quantization is used.
Definition at line 105 of file type.h.
The documentation for this struct was generated from the following file: