• W
    Add cpu_quantize_pass for C-API quantization (#16127) · 2579ade4
    Wojciech Uss 提交于
    * Add cpu_quantize_pass for C-API quantization
    
    test=develop
    
    * add cpu_quantize_pass test
    
    * fix lint: add include memory unorderd_map and unordered_set
    
    test=develop
    
    * fuse_relu 1
    
    test=develop
    
    * tuned 2 without squash
    
    * fixes
    
    test=develop
    
    * remove unused vars
    
    test=develop
    
    * refactored
    
    test=develop
    
    * fix lint c-style cast -> C++ style cast
    
    test=develop
    
    * remove QuantMax and c style casts
    
    test=develop
    
    * last usage of QuantMax removed
    
    test=develop
    
    * Fix Analysis Predictor UT
    
    Check if memory_optimize_pass has already been added
    to the analysis config before adding a new one, so
    that it is not added multiple times.
    test=develop
    
    * change map to unordered_map
    
    fix the forgotten part of cpu_quantize_pass_tester.cc
    
    test=develop
    
    * removed quantized attribute
    
    * fixed cpu_quantize_pass_tester and op attr comments
    
    test=develop
    
    * removed redundant line
    
    test=debug
    
    * removed gmock
    
    test=develop
    
    * fix after merge
    2579ade4
cpu_quantize_pass.cc 8.8 KB