1. 17 9月, 2022 1 次提交
  2. 16 9月, 2022 1 次提交
  3. 08 9月, 2022 1 次提交
  4. 06 9月, 2022 1 次提交
  5. 05 9月, 2022 1 次提交
  6. 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
  7. 31 8月, 2022 2 次提交
    • Z
      cfd5d40f
    • C
      Fix split api bug (#45396) · 4a25b60d
      Charles-hit 提交于
      * fix split bug
      
      * solve function redefine
      
      * fix fluid.layers.split and add unit test
      
      * delete splitInferMeta register in unary.cc
      
      * modify test_split_op GPU unit test
      
      * modify test_split_op GPU unit test place param
      
      * refactor split op and fix infershape bugs
      
      * add () in && and ||
      
      * fix split C++ unit test
      
      * fix split infershape
      4a25b60d
  8. 30 8月, 2022 1 次提交
  9. 29 8月, 2022 3 次提交
    • 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
    • C
      support backward refuse forward dygraph (#45250) · 7cf7084b
      Charles-hit 提交于
      * support refuse forward dygraph
      
      * modify backward api exponential__grad yaml
      
      * remove print code
      
      * 当反向复用前向时进行需不需要更高阶的反向判断,如果不需要调用c++ api,需要的话则调用前向动态图生成反向节点
      
      * fix some backward bugs
      
      * modify the generated dygraph function name
      7cf7084b
    • W
      [Eager] Pylayer set grad (#45452) · edc9952c
      wanghuancoder 提交于
      * pylayer set has grad with create_graph
      edc9952c
  10. 26 8月, 2022 1 次提交
  11. 25 8月, 2022 1 次提交
  12. 24 8月, 2022 2 次提交
  13. 19 8月, 2022 1 次提交
    • C
      fix some auto code generation bugs (#45232) · 9556c688
      Charles-hit 提交于
      * 修复生成动态图代码时,如果输出没有配置名字,会导致下标越界的问题。
      
      * decide forward_return[0] is not none
      
      * 修改反向yaml前向输出只有一个时,未配置名字,那么输出自动生成为out
      
      * modify code style
      9556c688
  14. 17 8月, 2022 2 次提交
  15. 16 8月, 2022 1 次提交
    • W
      [Eager] Forword only add dygraph func (#45153) · 933db9d4
      Weilong Wu 提交于
      * [Eager draft] forward_only interface migrate to autograd_api
      
      * strings api add dygraph forward function
      
      * rm useless comments
      
      * draft version for check CI
      
      * fix ci
      
      * forward-only no need compute_require_grad and pass stop_gradient, rm useless comments
      
      * polish yaml and using CPUPlace = phi::CPUPlace
      
      * rm useless comments
      
      * polish yaml and update some test case
      
      * rm useless funcs
      
      * polish eager_gen code
      
      * polish code
      933db9d4
  16. 12 8月, 2022 1 次提交
    • H
      [phi] Transfer linear_interp_v2 yaml to phi (#45072) · c737232f
      HongyuJia 提交于
      * support optional<vector<Tensor>> in yaml and eager
      
      * delete useless comments in eager_gen.py
      
      * fix api_base.py support optional<vector<TTensor>>
      
      * python_c_gen.py support optional<vector<tensor>>
      
      * transfer linear_interp_v2 yaml from fluid to phi
      
      * fix op_test typo error
      
      * change linear_interp_v2 testcase
      
      * fix args in final_state_linear_interp_v2
      
      * fix zeropad2d typo. test=document_fix
      c737232f
  17. 11 8月, 2022 1 次提交
  18. 10 8月, 2022 1 次提交
  19. 09 8月, 2022 1 次提交
  20. 08 8月, 2022 2 次提交
  21. 07 8月, 2022 1 次提交
  22. 03 8月, 2022 2 次提交
  23. 02 8月, 2022 1 次提交
  24. 01 8月, 2022 1 次提交
    • L
      unify gpu context (#44740) · 86763023
      Leo Chen 提交于
      * remove cudaDeviceContext
      
      * remove more template
      
      * fix rocm compile
      
      * remove alias name CUDADeviceContext
      
      * fix compile
      
      * fix tests
      
      * revert changes
      86763023
  25. 29 7月, 2022 2 次提交
  26. 28 7月, 2022 1 次提交
  27. 27 7月, 2022 1 次提交
  28. 26 7月, 2022 1 次提交
  29. 25 7月, 2022 1 次提交
  30. 21 7月, 2022 1 次提交
  31. 19 7月, 2022 2 次提交