1. 31 1月, 2023 1 次提交
  2. 21 12月, 2022 1 次提交
  3. 29 11月, 2022 1 次提交
  4. 25 10月, 2022 1 次提交
  5. 23 10月, 2022 1 次提交
  6. 11 10月, 2022 1 次提交
  7. 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
  8. 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
  9. 07 4月, 2022 1 次提交
    • H
      Add dist norm yamls (#41424) · 50ddc0b2
      hong 提交于
      * add dist erfinv gumbel softmax
      
      * fix test gumbel softmax op bug
      
      * try to fix gumbel softmax error
      
      * add label smooth backlist
      50ddc0b2
  10. 15 9月, 2021 1 次提交
    • Y
      Add New OP: gumbel_softmax (#35506) · 18eda6c3
      YuanRisheng 提交于
      * Add New Op: gumbel_softmax
      
      * Add New Op: gumbel_softmax
      
      * Add New Op: gumbel_softmax (amend)
      
      * add __main__ function in unit test
      
      * fix bugs when test in windows ci
      
      * update en docs
      
      * delete reletive error in unit test
      
      * delete relative error in unit test
      
      * set hard=True in unit test
      18eda6c3