1. 04 8月, 2023 2 次提交
    • J
      Support Combined indexing for __getitem__ and __setitem__ (#55211) · 697c712f
      JYChen 提交于
      * WIP: start writing combined indexing get
      
      * list/tuple/Variable
      
      * getitem 80%
      
      * add setitem
      
      * add some unittest for setitem
      
      * lazy import
      
      * fix some setitem error
      
      * fix advance indexing with decreasing axes; fix strided_slice input name
      
      * combine int-tensor getitem is ok (without boolean support & broadcast); add getitem unittest for static
      
      * add broadcast & parse bool tensor for __getitem
      
      * [change getitem] _getitem_impl_ to _getitem_static, not deleting the former one
      
      * refine new getitem; fix ut in variable/var_base
      
      * add __getitem__ ut in dygraph
      
      * re-dispatch getitem for Py/CPP; fix strided_slice decrease axes error in dygraph
      
      * fix ut; support tensor in slice
      
      * [change setitem] _setitem_impl_ to _setitem_static, not deleting the former one
      
      * remove some UT (for some, temporarily)
      
      * add IndexError to solve timeout problem in static-mode
      
      * 1.temply forbideen all-False bool-indexput; 2.setitem_static will return new variable
      
      * xpu uses old stratege
      
      * rename dy2st setitem ut to avoid same-name problem
      
      * dy2st for new combined index
      
      * ut case for combine-index with dy2st
      
      * open ut with all-false-bool setitem
      
      * remove useless doc and _getitem_impl_
      
      * change static res
      
      * fix static xpu
      697c712f
    • C
      [xdoctest] reformat example code with google style in No.91-94 (#55832) · bd14926e
      cyberslack_lee 提交于
      * test=docs_preview
      
      * test=docs_preview
      
      * test=docs_preview
      
      * test=docs_preview
      bd14926e
  2. 03 8月, 2023 6 次提交
  3. 02 8月, 2023 9 次提交
  4. 01 8月, 2023 7 次提交
  5. 31 7月, 2023 9 次提交
  6. 28 7月, 2023 2 次提交
  7. 27 7月, 2023 5 次提交
    • Z
      add int32/int64 for outer/matmul Kernel. (#55584) · ff2142f2
      zxcd 提交于
      * add int32/int64 for outer/matmul Kernel.
      
      * fix by comment.
      
      * fix by comment
      ff2142f2
    • H
      [NewIR]Fix new ir dygraph 2 static concat grad bug (#55634) · 51ebcf68
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      
      * add first pd_op to kernel dialect
      
      * lower pd op to kernel dialect
      
      * update
      
      * update
      
      * remove useless code
      
      * add attrite print test
      
      * fix bug
      
      * update
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish  code  and add python test
      
      * add test
      
      * fix test error
      
      * relax constraint when inserting get_parameter
      
      * add env flag
      
      * fix bug
      
      * dygraph2static support new ir
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * update
      
      * fix build_static bug
      
      * update test
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * fix inference compile
      
      * fix program translator error
      
      * only run on cpu, not support gpu yet
      
      * fix conflict
      
      * polish code
      
      * fix bug
      
      * add feed with place op
      
      * update
      
      * remove useless unitest
      
      * udpate mkldnn
      
      * update
      
      * update
      
      * align mkldnn version
      
      * new ir support builtin slice op
      
      * fix bug
      
      * fix phi kernel adaptor bug
      
      * add enable static
      
      * add enable_static
      
      * remove useless test case
      
      * change feed list to single variable
      
      * update
      
      * add feed with place and shaddow output op
      
      * fix bug
      
      * remove usless code
      
      * support gpu
      
      * fix bug
      
      * fix bug
      
      * remove template
      
      * add more data type
      
      * fix cimpile bug
      
      * udpate
      
      * remove useless code
      
      * revert dygraph2st test
      
      * remove usless code
      
      * revert op
      
      * fix bug
      
      * remove instance norm
      
      * fix concat grad bug
      
      * revert code
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      51ebcf68
    • G
      【inplace api】batch add inplace api paddle.log_, paddle.i0_,... · 58a03d41
      GGBond8488 提交于
      【inplace api】batch add inplace api paddle.log_, paddle.i0_, paddle.nn.functional.leaky_relu_... (#55576)
      
      * batch add inplace api
      
      * add inplace test
      
      * add activation inplace
      
      * fix test
      
      * remove atan2 ge, gt, le, lt, nq
      
      * remove atan2 ge, gt, le, lt, nq
      
      * fix windows ci error
      
      * rerun ci
      
      * fix typro
      
      * fix bugs
      
      ---------
      Co-authored-by: Nzhangrui34 <v_zhangrui34@baidu.com>
      58a03d41
    • R
      [CustomPass] add support for outputting the intermediate variables (#55728) · da258964
      ronnywang 提交于
      * add support for outputting the intermediate variables
      
      * fix fuse_rresnet_unit
      da258964
    • S
      remove useless logs (#55729) · 147fbfe0
      sneaxiy 提交于
      147fbfe0