1. 29 11月, 2022 2 次提交
  2. 28 11月, 2022 2 次提交
  3. 25 11月, 2022 1 次提交
  4. 22 11月, 2022 3 次提交
  5. 20 11月, 2022 1 次提交
  6. 08 11月, 2022 1 次提交
  7. 03 11月, 2022 2 次提交
  8. 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
  9. 31 10月, 2022 1 次提交
  10. 25 10月, 2022 1 次提交
  11. 23 10月, 2022 1 次提交
  12. 20 10月, 2022 1 次提交
  13. 19 10月, 2022 4 次提交
  14. 17 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_bytes)
      
      * remove some unused imports
      
      * clean up to_bytes definition and unittests
      
      * Revert "clean up to_bytes definition and unittests"
      
      This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
      
      * use `b` prefix instead of `encode()`
      198c7993
  15. 12 10月, 2022 1 次提交
  16. 11 10月, 2022 1 次提交
  17. 10 10月, 2022 1 次提交
  18. 27 9月, 2022 1 次提交
  19. 22 9月, 2022 1 次提交
  20. 21 9月, 2022 2 次提交
  21. 19 9月, 2022 1 次提交
    • X
      [Dy2Static] refactor the return transformer (#45900) · 908132dd
      xiongkun 提交于
      * 1. refactor the return transformer.
      2. fix some bugs in return transformer.
      
      * support raise error while return stmt's father is For or while
      
      * fix ci error.
      
      * fix ci error and add some unittest
      
      * code format
      
      * fix ci error
      908132dd
  22. 17 9月, 2022 1 次提交
  23. 14 9月, 2022 2 次提交
  24. 13 9月, 2022 1 次提交
  25. 09 9月, 2022 2 次提交
    • Z
      Run_program_op add scope cache & reuse (#45813) · 369a235d
      zhangbo9674 提交于
      * add scope cache & reuse
      
      * add gc scope for end of each train step
      
      * del scope reuse for jit
      
      * refine code
      
      * test
      369a235d
    • X
      [ Dy2Static ] convert_call support staticmethod for class. (#44983) · d0096eaf
      xiongkun 提交于
      * convert_call support staticmethod for class.
      
      * while support for python container.
      It is convenient to convert more dynamic graph codes into static graphs.
      
      * cond support python container
      
      * add unittest for staticmethod convert_call
      
      * fix bugs
      
      * add unittest for item interface
      
      * fix bugs
      
      * change to np.testing.assert_allclose
      
      * code format
      
      * fix comments.
      
      * code format
      d0096eaf
  26. 08 9月, 2022 1 次提交
    • X
      [Dy2Static] fix non-local error while dealing push_pop names (#45828) · 67d77846
      xiongkun 提交于
      * 1. fix non-local error while dealing push_pop names
      2. escape "'" in push_pop_names to avoid syntax errors.
      3. unified the non-local stmt creation processes in getter and setter.
      4. split the nonlocal_names and getter/setter names.
      
      * fix bugs
      
      * 1. revert setter and getter, push_pop_names must have non-local
      
      * fix bugs.
      
      * code format
      67d77846
  27. 06 9月, 2022 1 次提交
  28. 02 9月, 2022 1 次提交
    • X
      [ Dy2Static ] transfer list into tensor array at runtime. (#45594) · 3be7f495
      xiongkun 提交于
      * 1. make list transformer into jit form.
      2. fix some bugs in tensor_array, such as append.
      3. enhance the function analysis visitor to recognize push/pop.
      4. add setter/getter helper to deal with 2+ name sets.
      
      * fix ci errors:
      1. add to_tensor_array logic in convert_cond
      2. fix IfExpr error.
      3. fix erros while return_names or push_pop_names is None
      4. fix slice error in a[i]=1 where a is tensor_array
      5. add pop interface in Variable
      3be7f495