1. 04 4月, 2023 1 次提交
  2. 24 3月, 2023 1 次提交
  3. 29 11月, 2022 1 次提交
  4. 21 11月, 2022 1 次提交
  5. 23 10月, 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. 28 7月, 2022 1 次提交
    • C
      Move api(lgamma) from legacy_api.yaml to api.yaml (#44355) · 511a2c1c
      Charles-hit 提交于
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * modify code style
      
      * add x to X mapping
      
      * add definition of lgamma
      
      * delete redundant lgamma definitions
      
      * Modify code comments
      
      * Modify ops.py code format
      
      * add lgamma  single test and lgamma api in fluid
      
      * Optimized lgamma unittest
      511a2c1c
  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. 02 4月, 2022 1 次提交
  10. 28 5月, 2021 1 次提交
    • L
      Add lgamma_op kernel and unittest (#32913) · 2d3cbb49
      levi131 提交于
      * run pre-commit
      
      * use HOST or DEVICE instead of HOSTDEVICE in implementation of lgamma op
      
      * add test for fp32
      
      * add lgamma to op_threshold_white_list
      
      * add cuda kernel for lgamma kernel
      
      * modify numeric grad delta
      
      * fix small English issue
      
      * change LaunchElementwiseCudaKernel to LaunchSameDimsElementwiseCudaKernel
      2d3cbb49