1. 03 4月, 2022 1 次提交
    • F
      Add some yaml config (#41053) · e4914734
      From00 提交于
      * Add yaml config
      
      * Add yaml for flatten_contiguous_range_op
      
      * Remove h_sigmoid yaml
      
      * Fix CI errors
      
      * Fix code format
      
      * Fix flatten OP errors
      
      * Fix conflicts
      
      * Fix CI errors
      
      * Remove flatten_contiguous_range OP
      
      * Remove redundant code
      
      * Fix typos
      e4914734
  2. 02 4月, 2022 2 次提交
  3. 01 4月, 2022 4 次提交
    • H
      add final state python api (#41252) · ab8c33b1
      hong 提交于
      ab8c33b1
    • Z
      Add nll_loss yaml (#41126) · 8e032db8
      zyfncg 提交于
      * add nll_loss yaml
      
      * fix nll loss
      
      * fix nll loss bug
      
      * fix bug
      
      * fix bug
      
      * fix infrt problem
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      8e032db8
    • Z
      [DoubleGrad #4] Bug Fixes to Double Grad Node Generation (#41121) · 01724b1a
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * [DoubleGrad #4] Bug Fixes to Double Grad Node Generation
      
      * Fixed yaml typo
      
      * Fixed yaml typo
      
      * fixed minor issues
      
      * Fixed minor issue
      01724b1a
    • H
      Add basic yaml backward (#40751) · 98303291
      hong 提交于
      * fix error; test=develop
      
      * update
      
      * close some yaml
      
      * fix backward attrite error; test=develop
      
      * add div test
      
      * polish code; test=develop
      
      * update
      
      * update
      
      * fix bug
      
      * update bitwise code; test=develop
      
      * update
      
      * update
      
      * fix some bug
      
      * update
      
      * revert cmakelist
      
      * fix optional bug;
      
      * fix bug
      
      * fix bug;
      
      * add backward test
      
      * open bn
      
      * update
      
      * update
      
      * revert eager_gen
      
      * polish code
      
      * fix topk error
      
      * update
      
      * update
      
      * fix bug;
      
      * move label smooth, nll loss
      
      * revert topk
      
      * fix topk label smooth bug;
      
      * remove batch_norm
      
      * remove topk
      
      * change flip infer meta
      
      * fix flip bug
      
      * update yaml
      
      * close abs
      
      * fix histogram bug
      
      * fix histogram bug
      
      * add abs
      
      * fix histogram kernel
      
      * remove expand
      98303291
  4. 30 3月, 2022 1 次提交
  5. 29 3月, 2022 1 次提交
  6. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  7. 24 3月, 2022 1 次提交
  8. 22 3月, 2022 1 次提交
  9. 21 3月, 2022 1 次提交
    • H
      Add yaml config part0 (#40020) · cc853e95
      hong 提交于
      * add add yaml
      
      * add elementwise add yaml; test=develop
      
      * add norm
      
      * update
      
      * add some yaml config; test=develop
      
      * fix bug; test=develop
      
      * fix compare error; test=develop
      
      * revert erger_gen.py
      
      * update; test=deveop
      
      * remove usless code; test=deveop
      
      * fix bug; test=develop
      
      * fix test error; test=develop
      
      * remove int_type; test=develop
      
      * fix type error; test=develop
      
      * format; test=develop
      
      * remove type register; test=develop
      
      * polish code; test=develop
      
      * fix ci error; test=develop
      cc853e95
  10. 15 3月, 2022 1 次提交
    • H
      Move one hot to phi (#39876) · 7701db37
      hong 提交于
      * move one hot to phi; test=develop
      
      * fix bugs; test=develop
      
      * fix bugs; test=develop
      
      * add infer meta; test=develop
      
      * fix bugs; test=develop
      
      * resolve confilct
      
      * resolve confilct
      
      * fix bug;
      
      * fix error; test=develop
      
      * update; test=develop
      
      * polish code; test=develop
      
      * add one api in eager mode; test=develop
      
      * add one hot test; test=develop
      
      * remove use less code; test=develop
      
      * fix bug; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      7701db37
  11. 08 3月, 2022 1 次提交
    • X
      Fix fold python examples (#38636) · d4a4eb9d
      xiaoting 提交于
      * fix fold python examples, test=develop
      
      * fix size type, test=develop
      
      * fix python example, test=develop
      
      * fix fold shape check
      
      * fix fold dygraph mode, test=develop
      d4a4eb9d
  12. 01 3月, 2022 1 次提交
  13. 24 2月, 2022 1 次提交
  14. 23 2月, 2022 1 次提交
  15. 22 2月, 2022 1 次提交
  16. 16 2月, 2022 1 次提交
  17. 10 2月, 2022 2 次提交
  18. 09 2月, 2022 1 次提交
  19. 08 2月, 2022 1 次提交
  20. 12 1月, 2022 1 次提交
  21. 10 1月, 2022 11 次提交
  22. 07 1月, 2022 1 次提交
    • W
      modify mish op and add mish api (#38734) · 8c92337c
      wangxinxin08 提交于
      * add mish operator and api
      
      * remove redundant code and modify grad_atol of mish unittest
      
      * modify mish code to be consistent with other activation implementation
      8c92337c
  23. 31 12月, 2021 1 次提交
    • X
      Add fold opereators (#38613) · 8898dce1
      xiaoting 提交于
      * add fold opereators, test=develop
      
      * add fold opereators, test=develop
      
      * add fold opereators, test=develop
      
      * update fold op error test, test=develop
      
      * fix unitext, test=develop
      
      * fix unitext, test=develop
      8898dce1
  24. 22 12月, 2021 1 次提交
  25. 16 12月, 2021 1 次提交
    • L
      Add sparse_attention mask ,test=develop (#37973) · fa463b90
      Liu-xiandong 提交于
      Add key_padding_mask and attn_mask in sparse_attention Api
      
      1.Key padding mask is a tensor with dimensions [batch_size, seq_len], and attention mask is a tensor with dimensions [seq_len, seq_len]. The data types of the two masks are consistent with Q, K, and V, which are float32 or float64. If the value in Mask is 0, it means that the position needs to be masked.
      
      2.The changed files are mainly paddle/fluid/operators/sparse_attention_op.cu and python/paddle/fluid/tests/unittests/test_sparse_attention_op.py. sparse_attention has three parts: sddmm, softmax, and dsd. Adding the mask operation only needs to modify the softmax. It has no effect on the other two parts. In addition, in order to test the mask function, related tests has been added.
      fa463b90