1. 09 3月, 2023 1 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      zqw_1997 提交于
      * move fluid.utils to paddle.utils.layers_utils
      
      * fix error
      
      * delete original fluid layers utils
      
      * remove import and old utils
      
      * remove more old utils import
      
      * change import path of fill_constant in the layers_utils.py
      
      * fix mistake
      
      * fix error
      
      * expose in __init__.py
      
      * for comment
      
      * when change the ref of func is_sequence, it should change to the root of is_sequence instead
      
      * for codecheck
      86e990d4
  2. 14 2月, 2023 1 次提交
  3. 04 2月, 2023 1 次提交
    • H
      优化 PartialProgramLayer hash逻辑 (#49752) · 3e5a6df4
      hjyp 提交于
      * 优化 PartialProgramLayer hash逻辑
      
      * 修复list弱引用问题
      
      * 递归计算list列表的id
      
      * 处理str类型
      
      * str类型直接返回hash后的值
      3e5a6df4
  4. 30 12月, 2022 1 次提交
  5. 22 11月, 2022 1 次提交
  6. 01 11月, 2022 1 次提交
    • 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
  7. 23 10月, 2022 1 次提交
  8. 19 10月, 2022 1 次提交
  9. 12 10月, 2022 1 次提交
  10. 27 9月, 2022 1 次提交
  11. 14 9月, 2022 1 次提交
  12. 05 9月, 2022 1 次提交
  13. 06 7月, 2022 1 次提交
    • X
      [Dy2static] FunctionScopeVisitor Enhance and substitute the original NameVisitor in If (#43967) · b603dd55
      xiongkun 提交于
      * add support for control flow block analysis
      
      * move FunctionNameLivenessAnalysis into utils
      
      * pass test_ifelse.py
      
      * remove duplicate data_layer_not_check
      
      * pass the test_ifelse.py
      
      * fix unittest error .
      
      * fix all ci error in first version
      
      * temporay disable CreateVariableTransformer
      
      * fix ci errors
      
      * fix function name liveness analysis bugs
      
      * modifty def cond
      
      * fix
      
      * fix ci error - v2
      
      * fix by code review
      
      * change return_name_ids -> return_name
      b603dd55
  14. 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
  15. 28 4月, 2022 1 次提交
  16. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  17. 23 12月, 2021 1 次提交
  18. 27 7月, 2021 1 次提交
  19. 23 7月, 2021 1 次提交
  20. 22 7月, 2021 1 次提交
  21. 14 7月, 2021 1 次提交
  22. 11 6月, 2021 1 次提交
  23. 26 2月, 2021 1 次提交
  24. 28 10月, 2020 1 次提交
  25. 04 9月, 2020 1 次提交
  26. 03 9月, 2020 1 次提交
  27. 07 7月, 2020 1 次提交
  28. 11 6月, 2020 1 次提交
    • L
      [Dy2Static]Convert var.shape stmt and Convert the return variables of... · f16e2778
      liym27 提交于
      [Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not  (#24911)
      
      * Support int and long: int or long -> six.integer_types. 
      
      * Modify test_tensor_shape: fix bug and modify comment. 
      
      * Support convert_var_shape to convert var.shape stmt
      
      * Modify code in ifelse_simple_func.py because don't support return non-Tensor in Tensor-dependent 'if' stament currently. 
      
      * Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not. test=develop
      f16e2778
  29. 15 5月, 2020 1 次提交
    • L
      Support int32 int64 and fix bug (#24407) · 615a8bfc
      liym27 提交于
      * Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
      
      * Polish code in nn.py  test=develop
      
      * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
      
      * Convert int32 to int64 in slice op to avoid data overflow. test=develop
      
      * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
      615a8bfc
  30. 14 5月, 2020 1 次提交
  31. 07 4月, 2020 1 次提交
  32. 19 3月, 2020 1 次提交
  33. 14 1月, 2020 1 次提交
  34. 31 10月, 2019 1 次提交
  35. 12 10月, 2019 1 次提交
  36. 15 8月, 2018 1 次提交
  37. 26 2月, 2018 2 次提交
  38. 24 2月, 2018 1 次提交
  39. 21 12月, 2017 1 次提交