1. 01 8月, 2022 4 次提交
    • T
      [operator migration] Migrate unstack_op and nms_op (#44424) · 9d2e0ecb
      Thomas Young 提交于
      * update unstack_op
      
      * update unstack_op
      
      * update unstack_op
      
      * fix unstack test
      
      * update unstack
      
      * update with remote
      
      * fix unstack_test.py
      
      * temp_save_change_nms_op
      
      * add nms test
      
      * update nms fix
      
      * update unstack_op
      
      * temp save change
      
      * finish fix nms_op
      
      * pass nms test
      
      * fix CI
      
      * fix ops test
      
      * save change
      
      * fix code style
      
      * fix code style
      
      * fix ci and codestyle
      
      * fix ci
      Co-authored-by: NShiningZhang <zhang_liang1991@126.com>
      9d2e0ecb
    • L
      migrate overlap_add and overlap_add_grad op (#44739) · 2a8219c1
      levi131 提交于
      * update code format
      
      * add ymal and test
      
      * update for comments
      2a8219c1
    • X
      8482f1ae
    • L
      [PHI] Move lu_unpack to phi (#44674) · c905a9e9
      Lin Manhui 提交于
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer implementation code
      
      * Register new kernels
      
      * Remove old kernels
      
      * Fix code style
      
      * Fix bugs
      
      * mutable_data->HostAlloc
      
      * Transfer infermeta
      
      * Add yaml and update python api
      
      * Add PADDLE_WITH_HIP check
      
      * Update unittests
      
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer kernel implementation code
      
      * Register new kernels
      
      * Remove old kernels
      
      * Add lu_unpack_sig
      
      * Fix bugs
      
      * Fix bugs
      
      * Fix bugs
      
      * Optimize directory structure
      
      * Add output checks
      
      * Update include files
      
      * lu_impl.h->lu_kernel_impl.h
      
      * Transfer infermeta
      
      * Add yaml and update python api
      
      * Add check_eager
      Co-authored-by: NBobholamovic <linmanhui@baidu.com>
      c905a9e9
  2. 29 7月, 2022 2 次提交
    • W
      Phi softplus migration (#44542) · 05515662
      Wang Bojun 提交于
      * add yaml and utests of phi softplus
      
      add yaml of softplus
      
      fix softplus bug in phi
      
      * update utests
      
      * bug fix
      
      * bug fix for test_layers
      
      * layer api match
      
      * match def and doc in ops.py
      
      * doc polish
      
      * fix unwanted modified of thresholded_relu
      
      * style imporve
      05515662
    • L
      [PHI] Move lu to phi (#44605) · 3d88816e
      Lin Manhui 提交于
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer implementation code
      
      * Register new kernels
      
      * Remove old kernels
      
      * Fix code style
      
      * Fix bugs
      
      * mutable_data->HostAlloc
      
      * Transfer infermeta
      
      * Add yaml and update python api
      
      * Add PADDLE_WITH_HIP check
      
      * Update unittests
      
      * Fix bugs
      
      * Fix bugs
      
      * Optimize directory structure
      
      * Add output checks
      
      * lu_impl.h->lu_kernel_impl.h
      Co-authored-by: NBobholamovic <linmanhui@baidu.com>
      3d88816e
  3. 28 7月, 2022 5 次提交
    • H
      [phi]move softsign from fluid to phi (#44616) · 20759c30
      HongyuJia 提交于
      * test_activation_op unitest error, yaml & activation.py in_dygraph_mode incomplete
      
      * fix test_activation_op unitest error, add yaml and dygraph test
      
      * fix code style with pre-commit
      
      * try to fix namespace error of abs in activation_functor.h
      
      * fix namespace error of abs
      20759c30
    • C
      Move frame kernel to phi (#44615) · 28b4b2f7
      Charles-hit 提交于
      * Move frame OP to phi、add frame OP yaml config and supplement single test
      
      * add Header file of in_dygraph_mode
      
      * Modify variable name and FrameGradInferMeta multiplex UnchangedInferMeta
      
      * move seq2col to phi
      28b4b2f7
    • C
      Move api(lgamma) from legacy_api.yaml to api.yaml (#44355) · 511a2c1c
      Charles-hit 提交于
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * modify code style
      
      * add x to X mapping
      
      * add definition of lgamma
      
      * delete redundant lgamma definitions
      
      * Modify code comments
      
      * Modify ops.py code format
      
      * add lgamma  single test and lgamma api in fluid
      
      * Optimized lgamma unittest
      511a2c1c
    • L
      [PHI] Move spectral_norm to phi (#44577) · 768e50c9
      Lin Manhui 提交于
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer implementation code
      
      * Fix: Move out_grad to first
      
      * Register new kernels
      
      * Remove old kernels
      
      * Move out_grad to last
      
      * Fix bugs
      
      * Transfer infermeta
      
      * Add yaml files
      
      * Add blank line
      
      * Fix code style
      
      * Optimize directory structure
      Co-authored-by: NBobholamovic <linmanhui@baidu.com>
      768e50c9
    • J
      Support broadcast tensor in phi system (#44590) · a90b8dc1
      Jiabin Yang 提交于
      a90b8dc1
  4. 27 7月, 2022 3 次提交
  5. 26 7月, 2022 4 次提交
  6. 25 7月, 2022 2 次提交
  7. 22 7月, 2022 1 次提交
  8. 21 7月, 2022 2 次提交
  9. 20 7月, 2022 3 次提交
  10. 19 7月, 2022 2 次提交
    • W
      [Phi]Move angle op to phi (#44393) · 547075e9
      WangZhen 提交于
      * Move angle op to phi
      
      * Replace mutable_data using Alloc
      
      * Remove some include
      
      * Try to fix windows ci error
      
      * include math.h to fix windows ci error
      
      * Fix kernel name
      
      * Move angle_grad infershape
      547075e9
    • F
      move eig operator from fluid to phi (#44398) · 3788f5e5
      freeliuzc 提交于
      * move eig operator from fluid to phi
      
      * add eig_grad unitest, upgrade IsComplexType() from fluid to phi
      3788f5e5
  11. 13 7月, 2022 1 次提交
  12. 09 7月, 2022 1 次提交
  13. 07 7月, 2022 1 次提交
    • J
      Fix higher order deriv with inplace (#44020) · a7c98ddb
      Jiabin Yang 提交于
      * fix deriv with inplace
      
      * fix double grad bugs
      
      * remove additional file
      
      * fix compat dygraph mode
      
      * fix yaml remove additional yaml
      
      * fix slice double grad error and auto code gen logic error for higher order differentiate
      
      * fix fix_higher_order_deriv
      
      * remove additional include
      
      * fix fix_higher_order_deriv
      a7c98ddb
  14. 01 7月, 2022 1 次提交
  15. 30 6月, 2022 2 次提交
  16. 29 6月, 2022 1 次提交
  17. 27 6月, 2022 1 次提交
  18. 23 6月, 2022 1 次提交
  19. 22 6月, 2022 1 次提交
    • F
      fix bugs in codegen for operators (#43594) · a160c417
      Feiyu Chan 提交于
      * add codegen for get_expected_kernel, add argument mapping for selected_rows kernels, fix other bugs in codegen for operators.
      * move bernoulli, erf, mv, poisson, trunc, erf to api.yaml and corresponding backward api to backward.yaml
      * generate EmptyGradOpMaker for ops without grad op
      * add code to generate all possible kernel signatures for infrt
      a160c417
  20. 15 6月, 2022 1 次提交
  21. 14 6月, 2022 1 次提交
    • X
      [ Make FLAGS_einsum_opt as default ] Einsum memory optimization (#43397) · 83abec60
      xiongkun 提交于
      * change logic for optimize
      
      * modifty
      
      * optimize the backward speed of EinsumOp
      
      * add cache optimizer for einsum op
      
      * EinsumOp: fix new dygraph mode error
      
      * fix bug
      
      * change Cache->InnerCache
      
      * fix code
      
      * fix
      
      * add nan inf utils for einsum op
      
      * add as_extra
      
      * memory optimizer for einsum
      
      * update code
      83abec60