1. 18 8月, 2021 8 次提交
  2. 17 8月, 2021 8 次提交
  3. 16 8月, 2021 12 次提交
  4. 13 8月, 2021 5 次提交
    • T
      New Einsum API (#33821) · 8c8667f0
      Tongxin Bai 提交于
      * OP dot: refactor CPU kernels and get better loop performance.
      
      * Minor fix on code format.
      
      * Fixed minor errors.
      
      * Add new API: einsum
      
      * Update the Einsum unit test.
      
      One case failed with matmul_v2, where the dtype is int64:
      
      a = np.arange(2 * 3 * 1).reshape(2, 3, 1)
      b = np.arange(1)
      paddle.einsum("...i, ...i", a, b)
      
      * Test cases in test_einsum test floating point dtypes only.
      
      As of now Paddle only supports float/double dtypes in matmul, which is
      one of building blocks of this Einsum implementation. We decide not to
      test einsum against other dtypes.
      
      * Polish format.
      
      * More formatting.
      
      * Format...
      
      * Einsum: improve test coverage.
      
      * Einsum: bug fixes and more testcases for testing error messages
      
      * Einsum: fix format..
      
      * Einsum: fixed typo and format.
      
      * Einsum: format again...
      
      * Einsum: applied suggested changes.
      
      * Einsum API: improve API documentation.
      
      * Einsum API: apply suggested changes.
      
      * Einsum API: Add dygraph only note.
      
      * Einsum API: Add dygraph only note.
      
      * Einsum API: fixed unittest.
      8c8667f0
    • Z
      fix a bug of slice by none index (#34877) · ff4bdac3
      zyfncg 提交于
      ff4bdac3
    • Z
      Bug fix : Can't load multiple modules of custom c++ op (#34505) · fc6b4a50
      zyfncg 提交于
      * Fix a bug : can't load more than one custom op module
      
      * Fix a bug : can't load more than one custom op module
      
      * add test for load multiple modules of custom c++ op
      
      * add config for Coverage CI
      fc6b4a50
    • Q
      [NPU] fix bce_loss_npu, test=develop (#34876) · 5b86b999
      Qi Li 提交于
      5b86b999
    • A
      [npu]add unsqueeze2_grad,test=develop (#34733) · 2164ad61
      andyjpaddle 提交于
      2164ad61
  5. 12 8月, 2021 6 次提交
  6. 11 8月, 2021 1 次提交
    • Z
      [AMP] add state_dict and load_state_dict and unittest for class GradScaler (#34300) · 99f8f5c8
      zhangbo9674 提交于
      * add state_dict and load_state_dict and unittest for class GradScaler
      
      * refine unittest for coverage of load_state_dict
      
      * refine comments of code-block
      
      * refine some comments
      
      * refine state_dict code and unittest
      
      * add #require gpu, xpu for GradScaler get/set example code
      
      * add #require gpu, xpu for GradScaler get/set example code
      
      * refine example code
      
      * refine unittest for state_dict
      
      * refine unittest for state_dict
      
      * fix bug of DataLoader in TestGradScalerStateDict
      
      * add flag FLAGS_cudnn_deterministic
      99f8f5c8