1. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  2. 12 5月, 2022 1 次提交
  3. 17 12月, 2021 1 次提交
    • S
      Refine some AMP operators for BERT (#37923) · d80fe268
      sneaxiy 提交于
      * support multi precision update for LAMB
      
      * hide some api
      
      * fix ci uts
      
      * fix lamb output of dygraph
      
      * remove some changes to some PR
      
      * try to fix Py3 CI compile error
      
      * fix test_imperative_optimizer, add lars ut, add layer_norm ut
      
      * fix ut, fix format
      
      * fix ut
      
      * fix windows ci
      d80fe268
  4. 13 10月, 2021 1 次提交
    • Z
      Add fp16 for clip_by_norm & clip_by_global_norm (#36198) · 3a869cc5
      zhangbo9674 提交于
      * add fp16 for clip_by_norm api
      
      * support ClipByGlobalNorm for fp16 in dygraph
      
      * add unittest for dygraph clipGlobalNorm
      
      * refine unittest for dygraph clipGlobalNorm for mac and windows
      
      * refine unittest
      
      * add unittest for fp64
      
      * refine unittest for fp64
      3a869cc5
  5. 14 9月, 2021 1 次提交
  6. 10 9月, 2021 1 次提交
  7. 26 8月, 2021 1 次提交
  8. 05 8月, 2021 1 次提交
  9. 08 6月, 2021 1 次提交
  10. 09 10月, 2020 1 次提交
  11. 17 4月, 2020 1 次提交
  12. 02 4月, 2020 1 次提交
  13. 10 4月, 2019 1 次提交
  14. 07 12月, 2018 1 次提交
  15. 05 12月, 2018 1 次提交
    • C
      Fix clip.py (#14718) · 04539d4c
      chengduo 提交于
      * expose square
      test=develop
      
      * fix activation
      test=develop
      
      * Add square API
      test=develop
      
      * add necessary op
      
      * code refine
      
      * fix API.spec
      test=develop
      
      * fix unit test
      test=develop
      
      * add unit test sparse_grad_clip
      test=develop
      
      * fix API.spec
      test=develop
      
      * remove mac test for test_gradient_clip
      test=develop
      
      * remove selectedrows_mul_tensor
      test=develop
      04539d4c