1. 27 3月, 2023 1 次提交
    • HappyHeavyRain's avatar
      Add fuse_ops.yaml and fused_backward.yaml (#52010) · 10145cb6
      HappyHeavyRain 提交于
      * add fused_yaml fused_backward
      
      * fix eager_funciton bug
      
      * add some comment of fused yaml file
      
      * add 'support_dygraph_mode' configuration in fused yaml
      
      * delete some 'fused_api.h' in include file
      
      * add fused flag in api_gen
      10145cb6
  2. 25 3月, 2023 1 次提交
  3. 22 3月, 2023 1 次提交
    • HappyHeavyRain's avatar
      Support optimizers operator to be generated (#51767) · 0b008e0c
      HappyHeavyRain 提交于
      * test_get_kernel
      
      * add invoke signature
      
      * change reduce_max
      
      * change frobenius_norm
      
      * reset reduce_max according to composite and change reduce_all
      
      * fix the bug when Scalar(*)
      
      * fix 'scalar when support_tensor'
      
      * change code according to review
      
      * change 'keep_signature' to 'manual_signature' and add some erro info
      
      * support optimizers autogen
      
      * change sgd yaml
      
      * change generate signature
      
      * fix test/cpp/new_executor/CM
      
      * reset signature generated function
      
      * change signature funciton
      
      * change signature funciton
      0b008e0c
  4. 19 3月, 2023 1 次提交
  5. 24 2月, 2023 1 次提交
    • HappyHeavyRain's avatar
      support 'backend' in static ops (#50671) · 363825df
      HappyHeavyRain 提交于
      * support 'backend' in static ops
      
      * change bitwise_xx comment in python
      
      * change bitwise_xxx comment in python
      
      * change 'backend' and 'data_type' in GetExpectedKernelType
      363825df
  6. 31 1月, 2023 1 次提交
    • C
      Integrate static code gen info (#49858) · 0e51f398
      Charles-hit 提交于
      * polish static grad op maker gen
      
      * fix some bugs
      
      * fix static code gen
      
      * solve conflict
      
      * modify composite grad maker name
      
      * integrate phi and fluid info in static code gen
      
      * rename some composite maker
      
      * modify static code gen format
      0e51f398
  7. 16 1月, 2023 3 次提交
  8. 13 1月, 2023 1 次提交
  9. 09 1月, 2023 1 次提交
    • J
      Prim paddle Basic (#49272) · 2f601282
      Jiabin Yang 提交于
      * proto type of composite grad in paddle
      
      * proto type of composite grad in paddle
      
      * refactor composite api with phi
      
      * fix compile error
      
      * support static graph code-gen for squeeze op
      
      * generate static graph code of unsqueeze
      
      * refine op name
      
      * fix compile error
      
      * add extra output in op_compat
      
      * remove debug log
      
      * fix clang compile error
      
      * support prim switch flag
      
      * support prim switch flag
      
      * fix dygraph error
      
      * merge develop
      
      * add code_gen
      
      * add necessary files without codegen
      
      * fix code_gen bug
      
      * add deps
      
      * modify igmnore
      
      * add ignore
      
      * delete std cout
      
      * add composite logic for backward.py
      
      * add tanh first order grad composite
      
      * support enable_prim flag for static graph
      
      * throw expection when both GrapOpMaker and GradCompOpMaker not been registered
      
      * reorganize the directory of prim api tests
      
      * fix windows error
      
      * add eager_utils
      
      * add eager_utils
      
      * modify code gen
      
      * add composite parse
      
      * add unittest for get_grad_op_desc
      
      * code optimize
      
      * fix static test on windows
      
      * support generate static graph code for imag and real op
      
      * fix windows compile error in test_static_prim
      
      * merge develop
      
      * disable test eager in inference
      
      * prim code gen
      
      * disable eager compile in inference
      
      * rm other file
      
      * rm gitignore file
      
      * code_style
      
      * add eager test
      
      * code_style
      
      * merge develop
      
      * remove useless files
      
      * modify static test
      
      * support bool flag from singlton
      
      * merge develop
      
      * recover git ignore
      
      * fix conflict
      
      * recover git ignore for generated op
      
      * fix test compile error
      
      * remove some tests
      
      * add python test
      
      * fix some name issue
      
      * add composite code gen
      
      * modify backward yaml
      
      * fix static composite grad maker code gen
      
      * remove addtional files
      
      * add some static funcs unit test
      
      * fix some bugs
      
      * fix composite grad maker register code gen
      
      * optimize some functions
      Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Ncharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com>
      2f601282
  10. 05 1月, 2023 1 次提交
  11. 15 12月, 2022 1 次提交
  12. 09 12月, 2022 1 次提交
  13. 29 11月, 2022 1 次提交
  14. 09 11月, 2022 1 次提交
  15. 23 10月, 2022 1 次提交
  16. 18 10月, 2022 1 次提交
    • Z
      [code-gen] Support code-gen for opmaker of sparse op (#46993) · bdd3dde3
      zyfncg 提交于
      * support generating code of opmaker for backward op invoke forward op
      
      * gsupport code-gen of opmaker for sparse op
      
      * refind logic of choose phi kernrel
      
      * fix complie budg
      
      * fix code_gen bug
      
      * fix bug
      
      * fix kernel signature code-gen
      
      * fix complie bug of VarType
      
      * fix complie bug of VarType
      
      * fix test_sparse_conv_op
      
      * fix test_sparse_norm_op
      bdd3dde3
  17. 12 10月, 2022 1 次提交
  18. 14 9月, 2022 2 次提交
  19. 01 7月, 2022 1 次提交
  20. 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
  21. 18 5月, 2022 1 次提交