1. 10 5月, 2023 1 次提交
  2. 05 5月, 2023 1 次提交
  3. 27 4月, 2023 1 次提交
  4. 14 4月, 2023 1 次提交
  5. 10 4月, 2023 1 次提交
    • V
      [AMP OP&Test] Add fp16 and bf16 test to activation (#52521) · 6bd5fd75
      Vvsmile 提交于
      * adjust defalut tolerance of output and grad
      
      * fix a bug in the grad of OpTest
      
      * fix the type of setting defalut value in optest, both forward and
      backward
      
      * add defalut
      
      * fix test_sum_op
      
      * adjust tolerance
      
      * fix the tolerance of eager
      
      * add bf16 and fp16 to the activation tests
      
      * remove some fixs
      
      * fix activation
      
      * fix fp16
      
      * fix gelu
      
      * fix the activation tests
      
      * add bfloat16 specialization to singrad and cosgrad
      
      * fix bugs
      
      * fix bugs
      
      * add unittest
      
      * add skip
      
      * add fp/bf to rrelu/rrelu_grad
      
      * git add rrelu
      
      * fix bugs
      6bd5fd75
  6. 07 4月, 2023 1 次提交
  7. 22 3月, 2023 1 次提交
  8. 09 3月, 2023 1 次提交
  9. 02 12月, 2022 1 次提交
    • J
      [Eager] Optimize Grad by prune useless branch (#47827) · d1e93be1
      Jiabin Yang 提交于
      * [Eager] Fix paddle.grad interface
      
      * [Eager] Support minimum SubGraph for GeneralGrad
      
      * Add needed_nodes to prune grad graph more thoroughly
      
      * [Eager] Add grad_node_trans_mapping_ to record which grad_node has been transformed to AccumulationNode
      
      * [Eager] Fix paddle.grad interface
      
      * Polish code
      
      * remove potential_stop_node
      
      * Add endding_nodes to enhance genSugraph logic
      
      * clear endding_nodes_
      
      * polish code
      
      * rename endding_nodes to endding_nades_
      
      * Refactor grad interface
      
      * Add register_hook case to fix coverage-ci
      
      * Fix code format
      
      * Refactor general_grad
      
      * Add more code comments
      
      * call clear directly to release GradSlotMeta
      
      * fix a mistake
      
      * fix matmul/ multiply kernel logic and optional input in yaml, fill zeros logic and so on.
      
      * fix batch_norm_double_grad yaml optional config
      
      * fix tanh_triple_grad yaml and kernels
      
      * fix MultiplyTripleGradKernel optional logic
      
      * fix merge mistake
      
      * fix compile error
      
      * remove legacy attr for bn
      
      * polish code
      
      * fix some kernel
      
      * merge develop
      
      * fix error
      
      * remote log
      
      * fix kernel with full like
      
      * hide value log behind
      
      * hide value log behind
      
      * fix matmul_triple grad
      Co-authored-by: NWeilong Wu <veyron_wu@163.com>
      d1e93be1
  10. 14 11月, 2022 1 次提交
  11. 09 11月, 2022 1 次提交
  12. 04 11月, 2022 1 次提交
    • C
      Add sin double grad operator. (#47543) · 297f5efe
      cyber-pioneer 提交于
      * add sin double grad operator
      
      * add sin double grad test example
      
      * move sindoublegradopmaker to backward.yaml
      
      * fix sindoublegrad code
      
      * simplify sindoublegrad functor
      297f5efe
  13. 31 10月, 2022 1 次提交
  14. 30 9月, 2022 1 次提交
    • S
      support pure bfloat16 for more ops (#46364) · b7b231a6
      sneaxiy 提交于
      * support pure bfloat16
      
      * support bf16 linear
      
      * update PR to pass CI
      
      * tiny fix where_grad_kernel.cu
      
      * add bfloat16 to selu_grad to pass CI
      
      * fix selu grad compilation error
      b7b231a6
  15. 29 8月, 2022 1 次提交
  16. 08 8月, 2022 1 次提交
  17. 02 8月, 2022 1 次提交
  18. 28 7月, 2022 1 次提交
    • 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
  19. 30 6月, 2022 1 次提交
  20. 23 6月, 2022 1 次提交
  21. 05 6月, 2022 1 次提交
  22. 20 5月, 2022 1 次提交
  23. 19 5月, 2022 1 次提交
    • Z
      [Phi] Change the output format of C++ backward api (Part2) (#42545) · 4427f1b1
      zyfncg 提交于
      * change the output format of C++ backward api
      
      * fix merge conflict
      
      * fix sparse api code auto-gen
      
      * fix eager_gen bug
      
      * fix bug of output is null
      
      * fix bug of conv2d_grad_impl
      
      * fix optional grad
      
      * fix bug of eager-gen double_grad
      
      * fix bug
      
      * fix multiply_double_grad bug
      
      * fix bug of higher order derivative
      
      * fix bug of FillZeroForEmptyGradInput
      
      * remove redundant vector in grad_node
      
      * fix bug of test_deformable_conv_v1_op
      
      * fix bug of test_deformable_conv_v1_op
      
      * some refacotr
      4427f1b1
  24. 25 4月, 2022 1 次提交
  25. 07 4月, 2022 1 次提交
  26. 30 3月, 2022 1 次提交
  27. 29 3月, 2022 1 次提交
  28. 28 3月, 2022 1 次提交
    • H
      Move some activation to phi (#40727) · e77a947e
      hong 提交于
      * update
      
      * add forward case
      
      * update
      
      * update; test=develop
      
      * add some grad kernel; test=develop
      
      * move gpu kernel; test=develop
      
      * update
      
      * update;
      
      * update test;
      
      * fix selected rows bug;
      
      * add mix vector include ;
      
      * add mixed vector depen; test=develop
      
      * add logit grad signature;
      
      * polish code
      
      * fix bug;
      
      * add namespace for abs
      
      * revert code
      
      * not move softsign
      
      * revmove duplate register;
      
      * fix softsign bug
      
      * polish code
      
      * format
      
      * format
      
      * fix bug
      
      * remove cmake dep
      
      * add square sqrt selected rows support
      
      * update
      
      * remove clip norm
      
      * add standalone executor sqrt dep
      
      * standalone exec denp sqrt
      
      * remove sqrt op in cmkaelist
      
      * open some case
      e77a947e
  29. 25 3月, 2022 1 次提交
  30. 23 3月, 2022 1 次提交
  31. 17 3月, 2022 1 次提交
  32. 16 3月, 2022 2 次提交
  33. 15 3月, 2022 1 次提交
    • Y
      [Phi]Move Tanh/BRelu/LeakyRelu/ThresholdedRelu Kernels to Phi (#40385) · d7112180
      YuanRisheng 提交于
      * move activation op
      
      * adjust code format
      
      * fix compile bugs
      
      * fix ci bugs
      
      * code format adjust
      
      * code format adjust2
      
      * activate ci status
      
      * modify according to comment
      
      * move activation kernel
      
      * revert relu6
      
      * reduce add code
      
      * perfect use_phi_functor
      
      * completing func name
      
      * fix bugs when run ci
      
      * fix bugs when run infr
      
      * modifpy infrt get kernel signature
      d7112180
  34. 08 3月, 2022 1 次提交