1. 03 1月, 2023 1 次提交
  2. 29 11月, 2022 1 次提交
  3. 23 10月, 2022 1 次提交
  4. 11 10月, 2022 1 次提交
  5. 27 9月, 2022 1 次提交
  6. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  7. 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
  8. 02 4月, 2020 1 次提交
  9. 29 5月, 2019 1 次提交
    • H
      Add new gard clip [old gradient clip not support in dy graph] (#17523) · 9f85f218
      Hongyu Liu 提交于
      * add gradient clip in minimize; test=develop
      
      * fix bug; test=develop
      
      * fix format; test=develop
      
      * move new grad clip to dygraph/grad_clip.py; test=develop
      
      * fix lr decay and grad clip test; test=develop
      
      * seperate dygraph grad clip; test=develop
      
      * fix grad clip test; develop
      
      * fix api spec bug; test=develop
      
      * add blank line, test=develop,test=document_preview
      
      to fix format problem
      9f85f218