1. 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
  2. 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
  3. 02 4月, 2022 1 次提交
  4. 18 11月, 2021 1 次提交
  5. 09 10月, 2020 1 次提交
  6. 27 9月, 2020 1 次提交
  7. 08 9月, 2020 1 次提交
  8. 15 8月, 2020 1 次提交
  9. 08 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22102) · f2f91307
      zhupengyang 提交于
      enhanced ops: acos, asin, brelu, ceil, cos, elu, floor, hard_shrink,
      hard_sigmoid, hard_swish, relu6, round, rsqrt, sin, softshrink,
      cos_sim, cross_entropy, im2squence, kldiv_loss
      f2f91307
  10. 18 12月, 2019 2 次提交
  11. 13 12月, 2019 1 次提交
    • Z
      use large input shape for op tests (#21705) · 227edfe9
      zhupengyang 提交于
      sequence_expand_as, squared_l2_distance, gather_nd,
      center_loss, rank_loss, conv_shift, spp,
      modified_huber_loss, smooth_l1_loss, multiplex,
      sequence_softmax, nce, huber_loss, group_norm,
      kldiv_loss, hinge_loss, expand_as
      
      test=develop
      227edfe9
  12. 05 3月, 2019 3 次提交