• turneram's avatar
    Quantize linear ops (#843) · 3282e01a
    turneram authored
    * Add operators, refactor parsers, add rewrite passes, add tests
    
    * Formatting
    
    * Fix cppcheck
    
    * Review comments
    
    * Formatting
    
    * Combine rewrite passes
    
    * Formatting
    
    * Add ref implementations
    
    * Formatting
    
    * Review comments
    
    * Formatting
    
    * Tidy warnings
    
    * Apply review comments
    
    * Formatting
    
    * Fix CI error
    
    * Formatting
    
    * Increase code coverage
    
    * Formatting
    
    * Move broadcasting of scales and zero points to onnx parser
    
    * Formatting
    
    * Allow for x and zero_point to have different types in quantizelinear; fix zero_point default type
    
    * Formatting
    
    * Increase code coverage
    
    * Formatting
    
    * Switch certain variables to int64_t
    
    * Formatting
    
    * Fix overflow in implicit constant conversion
    
    * Formatting
    
    * Increase code coverage
    
    * Formatting
    
    * Remove operators.hpp from includes in tf_test.cpp
    
    * Formatting
    
    * Add conversion for int32 input to quantizelinear and add test case; remove operators.hpp from onnx_test.cpp includes
    
    * Formatting
    
    * Switch dequantizelinear math from int32 to float
    
    * Formatting
    
    * Remove changes to operators.hpp
    
    * Simplify apply_quantizelinear
    
    * Formatting
    
    * Add verify test for int32 data
    
    * Add rewrite_quantization back to CMakeLists
    3282e01a
tf_test.cpp 32.4 KB