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 1 次提交
  10. 27 9月, 2022 2 次提交
  11. 26 9月, 2022 1 次提交
  12. 20 9月, 2022 1 次提交
  13. 16 9月, 2022 1 次提交
  14. 14 9月, 2022 1 次提交
  15. 09 9月, 2022 1 次提交
  16. 05 9月, 2022 1 次提交
  17. 29 8月, 2022 1 次提交
  18. 26 8月, 2022 3 次提交
  19. 25 8月, 2022 1 次提交
  20. 23 8月, 2022 1 次提交
  21. 22 8月, 2022 2 次提交
  22. 12 8月, 2022 1 次提交
  23. 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
  24. 05 8月, 2022 1 次提交
  25. 03 8月, 2022 2 次提交
  26. 14 7月, 2022 1 次提交
  27. 12 7月, 2022 1 次提交
  28. 11 7月, 2022 1 次提交
  29. 06 7月, 2022 1 次提交
  30. 27 6月, 2022 1 次提交
  31. 24 6月, 2022 1 次提交
  32. 23 6月, 2022 1 次提交
    • S
      [external reviewing] Params to int8 pass (#42625) · b8b2d6a9
      Sylwester Fraczek 提交于
      * sylwek
      
      prototype params to int8 pass
      
      * trying to make warmup work
      
      * wip
      
      * wip
      
      * change test to cpp test
      
      * review fixes, refactoring
      
      * more refactoring
      
      * add erasevars
      
      * change test to fixture
      
      * rename pass
      
      and reorder erasevars and graphsaferemovenodes
      
      * fix
      
      * more refactoring and fixed bug
      
      * formatting
      
      * remove scale count
      
      * enfroce message too short
      
      * remove erasevars
      
      erasevars couldbe cauuse of memory issues
      
      some other fixes
      
      * add count of successfull fuses to name of new nodes
      
      * FindVar -> GetVar and use ConvResidual pattern
      
      * use tensor->clear() instead of new variable
      
      * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * Update paddle/fluid/inference/tests/api/analyzer_lexical_analysis_gru_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * add log (review fix)c
      
      * review fix (2 functions to one)
      
      * code review: Conv->QuantizeConv
      
      * revert
      
      * fix formatting
      
      * remove unused functions
      
      * add paddle enforce
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      b8b2d6a9
  33. 21 6月, 2022 1 次提交