1. 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
  2. 14 11月, 2022 1 次提交
  3. 09 11月, 2022 1 次提交
  4. 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
  5. 31 10月, 2022 1 次提交
  6. 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
  7. 29 8月, 2022 1 次提交
  8. 08 8月, 2022 1 次提交
  9. 02 8月, 2022 1 次提交
  10. 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
  11. 30 6月, 2022 1 次提交
  12. 23 6月, 2022 1 次提交
  13. 05 6月, 2022 1 次提交
  14. 20 5月, 2022 1 次提交
  15. 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
  16. 25 4月, 2022 1 次提交
  17. 07 4月, 2022 1 次提交
  18. 30 3月, 2022 1 次提交
  19. 29 3月, 2022 1 次提交
  20. 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
  21. 25 3月, 2022 1 次提交
  22. 23 3月, 2022 1 次提交
  23. 17 3月, 2022 1 次提交
  24. 16 3月, 2022 2 次提交
  25. 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
  26. 08 3月, 2022 1 次提交