Skip to content

Commit

Permalink
[converter] set hybrid_q_type for int16 (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc123 authored Sep 30, 2024
1 parent 11948b4 commit 133c095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tinynn/converter/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def __init__(
elif hybrid_quantize_weight_type == 'int8':
self.hybrid_q_type = np.int8
elif hybrid_quantize_weight_type == 'int16':
self.hybrid_q_type = np.int16
if self.hybrid:
raise AttributeError('Hybrid kernels supports int8 and uint8 only')

Expand Down

0 comments on commit 133c095

Please sign in to comment.