• L
    fix pool2d pool3d,support asymmetric padding and channel_last (#19739) · 24010472
    liym27 提交于
    * fix pool2d pool3d:
    1. support asymmetric padding;
    2. support padding algorithm:"SAME" and "VALID";
    3. support channel_last: data_format NHWC and NDHWC;
    4. support inferring shape when input with negative dims in compile time;
    5. change doc of python API and c++;
    6. fix bug in cuda kernel when Attr(adaptive) is true.
    
    test=develop,test=document_preview
    
    * fix 'tensors' to 'Tensors'. test=develop,test=document_preview
    
    * add test for converage ValueError.test=develop,test=document_preview
    
    * resolve conflict in test_pool2d. test=develop
    24010472
pool_op.h 10.8 KB