• M
    [DNNL] Fix accuracy in INT8 FC (#22404) (#22410) · a13490a0
    Michał Gallus 提交于
    test=release/1.7
    
    * Enable quantize to reorder to nchw as well
    
    * Correct FC MKL-DNN input dim requirements to accept 3D
    
    * Improve DNNL FC format, error and 3D input handling
    
    * Improve error checking in FC
    
    * Improve PADDLE_ENFORCE messages in fc-related files
    
    * Remove data layout attribute from obligatory pass args
    
    * Fix message in fc_mkldnn_pass to be logically correct
    a13490a0
cpu_quantize_pass.cc 20.7 KB