• rocking's avatar
    Refactor pool fwd (#815) · f60f0a5e
    rocking authored
    * Do not hardcode stride
    
    * devicePool2DFwd Inherit devicePool3DFwd
    
    * Move instance declaration out of common
    
    * Add dilation
    
    * use the pool3d rank, because pool2d inherit pooo3d
    
    * calculate Do Ho Wo for the dilation
    
    * Fix header name
    
    * Modify ckProfiler
    
    * Remove pool2d instance
    
    * Remove pool2d in profiler
    
    * Remove pool2d and add dilation
    
    * In to client example, this commit revise following:
    1. Add dilation.
    2. Use pool3d to implement pool2d
    
    * Refine naming and IsSupportedArgument()
    
    * Add dilation to maxpool bwd example
    
    * clang format
    
    * 1. Remove useless header
    2. Fix copyright
    3. Refine naming
    
    * Add layout parameter to pool fwd
    
    * clang format
    
    * Fix merge error
    
    * Fix compile error
    
    * Remove layout parameter in derived class
    
    * Refine changlog
    
    * Fix compile error
    
    * Fix compiler error
    
    * Add layout to external api and profiler
    f60f0a5e
pool2d_fwd_fp32.cpp 4.08 KB