Skip to content

Commit

Permalink
[onert] Introduce block quantization data type
Browse files Browse the repository at this point in the history
This commit introduces block quantization data type.
This commit is not including parameter info.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh committed Aug 27, 2024
1 parent 9f39dd8 commit cec4bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/onert/core/include/ir/DataType.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ enum class DataType
QUANT_INT16_ASYMM = 10,
QUANT_INT8_SYMM_PER_CHANNEL = 11,
QUANT_INT16_SYMM = 12,
QUANT_UINT4_SYMM_PER_BLOCK = 13, // Symmetric by substracting 8 always
QUANT_INT8_SYMM_PER_BLOCK = 14
};

size_t sizeOfDataType(DataType data_type);
Expand Down

0 comments on commit cec4bdd

Please sign in to comment.