This is a preliminary refactoring code to keep the SW maintenance cost of export versioning more manageable.
Main Changes
Defined some interface classes/methods so that aimet v2 EncodingBase will become the common middle layer between AIMET quantizers and different versions of QNN encoding formats.
This will free us from the curse of maintaining exponential combinations -- {v1, v2} x {0.6.1, 1.0.0, ...} -- of encoding import/export logics
This is a preliminary refactoring code to keep the SW maintenance cost of export versioning more manageable.
Main Changes
Defined some interface classes/methods so that aimet v2
EncodingBase
will become the common middle layer between AIMET quantizers and different versions of QNN encoding formats. This will free us from the curse of maintaining exponential combinations --{v1, v2}
x{0.6.1, 1.0.0, ...}
-- of encoding import/export logics