1. 01 11月, 2022 2 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
    • N
      [CodeStyle][py2] remove `six` package (part2) (#47334) · 3592ba8c
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `six` package (part2)
      
      * six.ensure_str
      
      * remove unused `import six`
      
      * remove six from BUILTIN_LIKELY_MODULES
      
      * remove six in example code
      
      * remove some decode
      
      * try to fix example code
      
      * fix MockEtcdClient get/get_prefix returns data type
      
      * fix MockEtcdClient get_prefix returns data
      
      * fix MockEtcdClient get returns data
      
      * remove `six` in pypi and conda requirements
      
      * fix MockEtcdClient add_watch_callback/add_watch_prefix_callback returns data type
      
      * refine MockEtcdClient
      3592ba8c
  2. 31 10月, 2022 2 次提交
  3. 28 10月, 2022 1 次提交
  4. 27 10月, 2022 1 次提交
  5. 23 10月, 2022 1 次提交
  6. 20 10月, 2022 1 次提交
  7. 19 10月, 2022 1 次提交
  8. 18 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_text) (#47036) · ad4c773b
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_text)
      
      * remove some unnecessary decode
      
      * remove to_text definition and unittest
      
      * Revert "remove to_text definition and unittest"
      
      This reverts commit a6b69cb8dca8b9b031ce10ea32d1040e7e0dd267.
      
      * remove an assertion
      
      * empty commit
      ad4c773b
  9. 17 10月, 2022 2 次提交
  10. 10 10月, 2022 1 次提交
  11. 27 9月, 2022 2 次提交
  12. 26 9月, 2022 1 次提交
  13. 21 9月, 2022 1 次提交
  14. 20 9月, 2022 1 次提交
  15. 16 9月, 2022 1 次提交
  16. 14 9月, 2022 2 次提交
  17. 09 9月, 2022 1 次提交
  18. 08 9月, 2022 2 次提交
  19. 05 9月, 2022 2 次提交
  20. 31 8月, 2022 1 次提交
  21. 29 8月, 2022 1 次提交
  22. 26 8月, 2022 3 次提交
  23. 25 8月, 2022 1 次提交
  24. 23 8月, 2022 1 次提交
  25. 22 8月, 2022 2 次提交
  26. 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
  27. 12 8月, 2022 1 次提交
  28. 11 8月, 2022 1 次提交
    • H
      add new ptq method ptf (#44246) · f4bc69ec
      handiz 提交于
      * add new ptq method ptf
      
      * add post training quantization mobilenetv1 test for ptf
      
      * add post training quantization mobilenetv1 test for ptf test=allcases
      f4bc69ec
  29. 05 8月, 2022 1 次提交
  30. 03 8月, 2022 1 次提交