1. 07 3月, 2023 1 次提交
  2. 03 3月, 2023 1 次提交
  3. 02 3月, 2023 1 次提交
    • C
      Add prim test for elementwise ops (#50807) · b8713309
      Charles-hit 提交于
      * fix prim_op_test when python api outs is different with kernel sig
      
      * add elementwise op prim test
      
      * fix unit test
      
      * add bfloat16 for full in static  prim api
      
      * empty-commit
      
      * close bf16 test
      
      * polish elementwise tests
      b8713309
  4. 31 1月, 2023 2 次提交
  5. 13 12月, 2022 1 次提交
  6. 12 12月, 2022 1 次提交
    • H
      [Clean fluid] Add inner function _elementwise_op_with_axis (#48748) · 9aef0e3e
      HongyuJia 提交于
      * add inner function _elementwise_op_with_axis
      
      * fix transformer_model
      
      * polish API code
      
      * remove elementwise_div/mul api
      
      * delete API in __all__
      
      * delete elementwise_mul completely
      
      * polish elementwise_mul call
      
      * polish internal api
      
      * resolve conflict, fix rnn.py
      
      * use non-inplace call
      
      * delete elementwise_mul api test
      
      * delete elementwise_mul api test
      
      * clean elementwise_add/sub
      
      * restore _elementwise_op_in_dygraph in nn.py
      9aef0e3e
  7. 29 11月, 2022 1 次提交
  8. 23 11月, 2022 1 次提交
  9. 02 11月, 2022 1 次提交
  10. 01 11月, 2022 1 次提交
  11. 23 10月, 2022 1 次提交
  12. 11 10月, 2022 1 次提交
  13. 27 9月, 2022 1 次提交
  14. 26 9月, 2022 1 次提交
    • W
      [Eager, Performance optimization] math op sink to Cpp level ( + and - operator... · 23c50648
      Weilong Wu 提交于
      [Eager, Performance optimization] math op sink to Cpp level ( + and - operator as an example ) (#45811)
      
      * [Eager] math op sink to Cpp level
      
      * fix ci errors
      
      * draft version
      
      * draft version
      
      * draft version
      
      * support + and - operator under cpp directly
      
      * add static test
      
      * polish code
      
      * promote types or unify right type to left
      
      * recover static test case
      
      * polish code and fix some ci errors
      
      * support complex and polish code
      
      * fix conflicts
      
      * fix windows ci errors
      
      * fix windows-inference-ci errors
      
      * polish and fix tests
      
      * fix test case
      
      * polish code
      
      * polish code
      
      * polish code and fix code-format
      
      * polish code
      
      * polish code
      
      * polish code
      
      * polish code
      23c50648
  15. 02 9月, 2022 1 次提交
  16. 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
  17. 04 4月, 2022 1 次提交
  18. 22 3月, 2022 1 次提交
    • X
      polish python api logic and add backward python api check (#40666) · c29f85b6
      xiongkun 提交于
      * 1. add the python api grad 2. add final and intermediate state vlog 3. change the python_api error logic
      
      * add python api or close the check_eager=True
      
      * fix the compatibility
      
      * matmul
      
      * disable unittests: test_elementwise_add_op test_scatter_nd_op test_gather_nd_op test_scatter_op test_index_sample_op test_elementwise_add_mkldnn_op
      c29f85b6
  19. 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
  20. 16 3月, 2022 1 次提交
  21. 25 2月, 2022 1 次提交
  22. 30 4月, 2021 1 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) · 308073de
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      308073de
  23. 28 4月, 2021 1 次提交
  24. 14 4月, 2021 1 次提交
  25. 03 2月, 2021 1 次提交
  26. 25 12月, 2020 1 次提交
    • C
      [Complex] Handle complex to real after type promotion (#29855) · a6072055
      Chen Weihang 提交于
      * try to add fwd op input dtypes
      
      * refactor base impl
      
      * return tmp_ins after dygraph prepare data
      
      * fix typo found in debug
      
      * polish comment & add complex net test
      
      * revert detail change
      
      * fix unittest failed
      
      * add complex kernel condition control
      
      * fix xpu test failed & polish comment
      
      * polish details by review comments
      a6072055
  27. 15 12月, 2020 1 次提交
  28. 14 12月, 2020 1 次提交
  29. 17 8月, 2020 1 次提交
    • Y
      Update `paddle.add` (#25910) · d063a98b
      Yang Zhang 提交于
      * Update `paddle.add`
      
      remove `alpha`
      update doc sample code
      remove `:alias` etc
      
      * Remove `imperative` reference from docstring
      d063a98b
  30. 03 8月, 2020 1 次提交
    • W
      remove all op with out args (#25570) · 12bed4a9
      WuHaobo 提交于
      * test=develop,test=document_fix, remove the out args
      
      * Revert "test=develop,test=document_fix, remove the out args"
      
      This reverts commit f430799b.
      
      * test=develop,test=document_fix, remove the out args
      
      * remove all  the out args
      
      * remove all  the out args
      
      * test=develop, remove all  the out args
      
      * test=develop, remove all  the out args
      
      * test=develop, remove out args in matmul testcase
      
      * test=develop, fix the bugs of out args testcase in logsumexp
      
      * test=develop, fix the bugs of out args testcase in elementwise_add
      
      * test=develop, fix the bugs of out args testcase in elementwise_div
      
      * test=develop, fix the bugs of out args testcase in activation
      
      * test=develop, fix the bugs of out args testcase in addcmul
      
      * test=develop, fix the bugs of out args
      
      * test=develop, fix the bugs of out args in API example
      
      * test=develop, fix the bugs of out args in kron testcase
      
      * test=develop, fix the bugs of out args in kron testcase
      
      * test=develop, remove out args
      
      * test=develop, remove out args
      
      * test=develop, fix the coverage
      
      * test=develop, polish codestyle
      
      * test=develop, Update math.py
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish codestyle
      
      * test=develop, polish the test_activation_op.py
      
      * test=develop, Update math.py
      
      * test=develop, fix the failed CI
      
      * test=develop, add core.ops
      
      * test=develop, add core.ops change clamp to clip
      
      * test=develop, add core.ops change clamp to clip
      
      * test=develop, write testcase for clamp OP
      12bed4a9
  31. 12 5月, 2020 1 次提交
  32. 04 4月, 2020 1 次提交
  33. 23 1月, 2020 1 次提交
  34. 17 1月, 2020 1 次提交
  35. 19 12月, 2019 1 次提交
  36. 18 12月, 2019 1 次提交
  37. 09 12月, 2019 1 次提交
    • Z
      Fix unit tests to avoid check_grad checking failures (#21554) · 548efcd2
      Zhang Ting 提交于
      * fix python API tests that do not need to inherit OpTest, test=develop
      
      * fix fp16 cases that will only be enabled in GPU mode, test=develop
      
      * remove TestSoftmaxFP16Op from test cases of softmax_mkldnn_op, test=develop
      
      * fix tests so that the cases are only created in GPU mode, test=develop
      548efcd2
  38. 02 12月, 2019 1 次提交
  39. 21 11月, 2019 1 次提交
    • Z
      open dygraph op test, test=develop (#19787) · c4ede95c
      zhongpu 提交于
      * open dygraph op test, test=develop
      
      * modify to_variable, test=develop
      
      * modify input and output for dygraph, test=develop
      
      * modify input and output for dygraph(fix bug), test=develop
      
      * fix input processing of dygraph op test, test=develop
      
      * fix bug, test=develop
      
      * fix op test, test=develop
      
      * fix forward bug for dygraph, test=develop
      
      * fix mkldnn op test for forward, test=develop
      
      * update nn.py for dygraph, test=develop
      
      * fix crop_tensor_op, test=develop
      
      * fix elementwise_mul_op, test=develop
      
      * fix fill_op, test=develop
      
      * fix some mkldnn op, test=develop
      
      * open backward op test for dygraph, test=develop
      
      * delete log, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * fix bug for edit_distance_op and test_lstm_cudnn_op, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * open dygraph op test, test=develop
      
      * fix op test for dygraph, fix GradOpDescMaker, test=develop
      
      * fix bug for linear_chain_crf_op.h, test=develop
      
      * remove log, test=develop
      
      * remove log, test=develop
      
      * remove log for op_test.py, test=develop
      
      * remove log for op_test.py, test=develop
      
      * fix bug for var_conv_2d_op, change PADDLE_ENFORCE, test=develop
      
      * fix PADDLE_ENFORCE_EQ for hierarchical_sigmoid_op.cc, test=develop
      
      * fix bug for test_increment_ngraph_op.py, test=develop
      
      * fix lod for op test in dygraph, test=develop
      
      * refactor op_test.py to reduce redundant code, test=develop
      
      * fix lod optest, modify InputVar/OutputVar to HasInput/HasOutput, test=develop
      
      * remove debug log, test=develop
      
      * remove redundant code in base.py, test=develop
      
      * fix some error in optest, test=develop
      
      * fix ClearNoNeedBufferInputs function's bug for LoDTensor, test=develop
      
      * refactor op_test.py, test=develop
      
      * remove redundant writing, test=develop
      
      * fix error(get tensor of the grad variable), test=develop
      
      * fix test_concat_mkldnn test_conv2d_mkldnn, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix some redundant code, test=develop
      
      * reslove conflict and rewrite paddle error message, test=develop
      c4ede95c