• Y
    [X86] Polish the implementation of fc and imporve the unittest (#2656) · 28481458
    Yiqun Liu 提交于
    * Remove GEMM padding in fc_compute.
    test=develop
    
    * Write a common ParallelFor function to run the for loop in parallel.
    
    * Add the codes of padding GEMM back in fc.
    
    * Refine the code of fc when padding_weight is false to avoid the definition of temporary Tensor.
    
    * Refine the unit test of fc and add testing case of padding and parallel.
    test=develop
    
    * Enable more test cases in common fc unittest, including padding and parallel for x86 target.
    
    * Remove the fc test under kernels/x86.
    test=develop
    
    * Disable relu in test of fc for non-x86 target.
    test=develop
    
    * Change the eps of arm.
    test=develop
    28481458
parallel.h 2.0 KB