1. 24 8月, 2020 9 次提交
    • W
      【2.0 API】Add CUDA kernel and enhance options for grid_sample (#26576) · 79539cf1
      whs 提交于
      This PR enhance CPU kernel and add new CUDA kernel to make grid_sample support:
      
      - align_corners: with bool type.
      - padding mode: which can be in ['zeros', 'reflect', 'border']
      - Interpolation mode: which ca be in ['bilinear', 'nearest']
      
      The old CPU and CUDNN version only support align_corners=true, padding_mode='zeros' and interpolation_mode='bilinear'.
      
      The behavior of the new version op in default mode is compatible with the old version.
      79539cf1
    • Y
      find timeout unittests (#26371) · 39fe0d35
      YUNSHEN XIE 提交于
      * find timeout unittests
      
      * setting timeout value
      
      * fix some error
      
      * fix some error
      
      * fix some error
      
      * fix no newline of end file error
      39fe0d35
    • G
      [API 2.0] Add transformer apis (#26418) · 317f7ce2
      Guo Sheng 提交于
      * Add MultiHeadAttention api.
      test=develop
      
      * Add MultiHeadAttention cache type and gen_cache.
      test=develop
      
      * Add TransformerEncoderLayer and TransformerEncoder.
      test=develop
      
      * Add Transformer decoder apis.
      test=develop
      
      * Add Transformer api.
      test=develop
      
      * add unittests for transformer api
      
      * add unittests for transformer api
      
      * Fix some bugs in Transformer apis.
      test=develop
      
      * add unittests for encoder, decoder and transformer
      
      * clean conflicts infor in code
      
      * clean Chinese comments
      
      * Add TransformerDecoderCell and TransformerBeamSearchDecoder.
      test=develop
      
      * Remove TransformerDecoderCell and TransformerBeamSearchDecoder temporarily.
      test=develop
      
      * Add import for Transformer apis.
      test=develop
      
      * Update usage of weight_attr and Tensor in Transformer api docs.
      test=develop
      
      * Update Transformer apis by renaming MultiheadAttention and cal_kv according to comments.
      test=develop
      
      * Fix MultiHeadAttention in test_transformer_api.py.
      test=develop
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      317f7ce2
    • Y
      efee4267
    • Z
      change to use bce_loss op, add shape check for bce_loss · bf4a4636
      Zhong Hui 提交于
      change to use bce_loss op, add numel check for bce_loss.
      bf4a4636
    • S
      add div, floor_div, remainder (#26562) · 0e816260
      ShenLiang 提交于
      * add div, floor_div, remainder
      0e816260
    • Q
      Support empty bbox in bipartite math op (#26488) · 24566e95
      qingqing01 提交于
      24566e95
    • J
      Add isfinite v2 op (#26344) · 199b0c7c
      Jack Zhou 提交于
      add the isnan, isfinite, isinf api for the paddle 2.0
      199b0c7c
    • Y
      fix datanorm op add attr bug test=develop (#25000) · 33cffdf3
      yaoxuefeng 提交于
      33cffdf3
  2. 23 8月, 2020 10 次提交
  3. 22 8月, 2020 14 次提交
  4. 21 8月, 2020 7 次提交