1. 14 9月, 2022 3 次提交
  2. 13 9月, 2022 1 次提交
  3. 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
  4. 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
  5. 07 9月, 2022 2 次提交
  6. 06 9月, 2022 2 次提交
  7. 05 9月, 2022 2 次提交
  8. 02 9月, 2022 2 次提交
    • 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
    • W
      [Eager] fix spectral_norm interface under eager mode (#45655) · 31b92305
      Weilong Wu 提交于
      * [Eager] fix spectral_norm interface under eager mode
      
      * fix spectral_norm yaml config
      31b92305
  9. 31 8月, 2022 1 次提交
  10. 30 8月, 2022 1 次提交
  11. 29 8月, 2022 4 次提交
    • Z
      [new_exe] Dy2Static support new_executor (#44450) · aba1295b
      zhangbo9674 提交于
      * add interpretercore
      
      * refine backward program id
      
      * add code
      
      * refine program
      
      * refine code
      
      * create forward/backward_program by prog2graph2prog method
      
      * test, do not care
      
      * refine code
      
      * refine code
      
      * refine code
      
      * test, do not care
      
      * add interpretorcore
      
      * add scope
      
      * refine scope create method
      
      * add jit for new_exe
      
      * solve conflict
      
      * delete unused code
      
      * polish code
      
      * polish code
      
      * refine scope in inplace
      
      * refine for datatransfer
      
      * refine _rebuild_from_desc
      
      * refine control eager deletion attr
      
      * refine used_for_jit
      
      * refine jit for infer
      
      * op size0 use ori program
      
      * polish code
      
      * refine jit
      
      * refine run_program_op ut
      
      * refine inplace
      
      * refine control
      
      * refine graph helper
      
      * refine control
      
      * refine inplace
      
      * refine buffer_share_inplace_pass
      
      * polish code
      
      * polish code
      
      * refine usage for compilerProgram
      
      * refine control
      
      * test
      
      * test core cache
      
      * refine code
      
      * refine io.py
      
      * increase test_seq2seq timeout
      
      * refine convert program
      
      * refine interpretercore_cache release
      
      * delete buildinplace
      
      * refine partial_program && io
      
      * refine code for io
      
      * test
      
      * test
      
      * test
      aba1295b
    • A
      ac0a2e50
    • X
      [ Dy2Static ] Unify tensor.size and Variable.size() by jst (#45144) · 163cd154
      xiongkun 提交于
      * unify the size and size() by jst
      
      * fix bugs
      
      * bug fix.
      
      * fix bugs
      
      * change all_close -> np.testing.assert_allclose
      163cd154
    • Z
      add interpolate op to default black lists (#45393) · 9a560f7c
      Zhang Ting 提交于
      9a560f7c
  12. 26 8月, 2022 2 次提交
  13. 24 8月, 2022 2 次提交
  14. 22 8月, 2022 1 次提交
  15. 19 8月, 2022 2 次提交
  16. 18 8月, 2022 1 次提交
  17. 17 8月, 2022 2 次提交
  18. 11 8月, 2022 1 次提交
  19. 10 8月, 2022 1 次提交
  20. 09 8月, 2022 1 次提交
  21. 04 8月, 2022 1 次提交
    • N
      [Docs][en] adjust code example format (#44679) · d5de7886
      Nyakku Shigure 提交于
      * add name attribute to code-block, test=document_fix
      
      * remove redundant labels, test=document_fix
      
      * remove redundant labels (from upstream), test=document_fix
      
      * more COPY-FROM (try multiple code example), test=document_fix
      
      * empty commit, try to trigger PR-CI-build
      
      * fix some `Examples:` format issues
      
      * fix some ci errors
      d5de7886
  22. 03 8月, 2022 2 次提交
  23. 02 8月, 2022 3 次提交
    • X
      [ Dy2Static ] Remove assign split (#44769) · be0ec904
      xiongkun 提交于
      * just a test
      
      * remove split assign test
      
      * remove other useless code related to split assign
      be0ec904
    • W
      [Eager] use eager final state instead intermediate state (#44722) · f1873b90
      Weilong Wu 提交于
      * [Eager] call final_state_slice under eager mode
      
      * rm useless comments
      
      * use eager final state instead intermidiate state
      
      * update fill_constant yaml
      
      * update fill_constant yaml
      
      * modify wrapped_infermeta_gen logic to fix special case
      
      * fix slice in manipulation
      
      * use fill_constant_
      
      * modify slice infermeta
      
      * rm final_state_conv2d
      
      * use final_state_slice
      
      * use final_state_slice only
      
      * polish slice, use final state
      
      * add paddle_throw for SplitInferMeta
      
      * rm fill_constant_ temply
      
      * recover array_equal, not allclose
      
      * recover original code
      f1873b90
    • W
      [Dy2St]Raise TypeError when call to_static to convert a method of a common class (#44781) · c3d4a3d8
      WangZhen 提交于
      * Fix to_static error when call to_static to convert a method of a common class
      
      * raise typerror when class no inherits from layer
      
      * Fix @to_static
      c3d4a3d8