1. 21 12月, 2021 3 次提交
  2. 20 12月, 2021 3 次提交
  3. 17 12月, 2021 4 次提交
  4. 16 12月, 2021 3 次提交
  5. 15 12月, 2021 2 次提交
  6. 14 12月, 2021 2 次提交
  7. 13 12月, 2021 1 次提交
  8. 10 12月, 2021 3 次提交
  9. 09 12月, 2021 2 次提交
  10. 08 12月, 2021 1 次提交
  11. 07 12月, 2021 1 次提交
    • Y
      [Pten]Move func from kernel_context.h into kernel_context.cc (#37804) · bfa0d7f3
      YuanRisheng 提交于
      * add inplace op adaptation
      
      * optimize inplace logic and fix bugs when run kernel that has args of vector<DenseTensor>
      
      * move func in kernel_context.h into kernel_context.cc
      
      * refactor logic that transform variable to densetensor
      
      * fix bugs when compile
      
      * update func name
      
      * fix bugs when run windows-ci
      bfa0d7f3
  12. 03 12月, 2021 1 次提交
  13. 02 12月, 2021 1 次提交
  14. 30 11月, 2021 2 次提交
  15. 29 11月, 2021 2 次提交
    • C
      [Pten] Add reduce mean kernel, replace with mean API (#37559) · f9e9fd19
      chentianyu03 提交于
      * add pten reduce kernel
      
      * add reduce_sum kernel
      
      * update attribute args and order
      
      * make out dtype undefined
      
      * fix empty input error
      
      * merge develop branch
      
      * rename sum as reduce function
      
      * rename sum as reduce function
      
      * fix reducekernelImpl args error
      
      * add reduce cuda kernel
      
      * modify dims type to const &
      
      * remove unsed log
      
      * fix reduce_all out eigen function error
      
      * remove unused codes
      
      * add the missing sum api define and testcase
      
      * merge develop branch
      
      * fix sum test axis value error
      
      * replace pten mean kernel with reduce_mean
      
      * revcover meam cuda to original implement
      f9e9fd19
    • C
      [Pten] add cuda implement of cast kernel (#37610) · 9956763e
      chentianyu03 提交于
      * add cuda implement of cast kernel
      
      * remove bfloat16 when defined paddle_with_hip
      9956763e
  16. 25 11月, 2021 2 次提交
  17. 24 11月, 2021 2 次提交
    • Y
      elementwise_mul refactor (#37471) · c5e857d4
      YuanRisheng 提交于
      * elementwise_mul refactor
      
      * perfect code in test
      
      * delete redundant code
      
      * fix bugs when run test_multiply
      
      * adjust the location of macro
      
      * fix bugs when run ci
      c5e857d4
    • Z
      【PTen】Add Scalar and ScalarArray in pten (#37409) · 0f24de83
      zyfncg 提交于
      * add scalar and scalar_array
      
      * remove DenseTensor include from Scalar and ScalarArray
      
      * remove inner header from scalar_array
      
      * refactor the method of fill_constant and add some comment
      0f24de83
  18. 23 11月, 2021 1 次提交
  19. 22 11月, 2021 2 次提交
    • C
      [PTen] Add variable transform to/from ptenTensor and add cast kernel (#36916) · 5caa6fc5
      chentianyu03 提交于
      * add cast kernel
      
      * add cast cuda kernel
      
      * add cast kernel
      
      * make cast kernel output dtype undefined
      
      * get cast dtype from vardesc
      
      * move cast to manipulation and add test case
      
      * add castinfershape
      
      * avoid reinitilaze variable
      
      * InitializeVariable support datatype
      
      * merge develop branch
      
      * fix merge bug
      
      * revert modify initializeVariable
      
      * revert modify on InitializeVariable
      
      * revert modify on InitializeVariable
      
      * mutable support reset dtype
      
      * enable make pten tensor from variable when def_arg.type is undefined
      
      * fix build pten ctx start_idx error
      
      * copy pten out tensor to variable
      
      * merge develop branch
      
      * fix non pten kernel cast failed
      
      * add reset allocation place for remake tensor
      
      * fix inplace realloc error
      
      * add mutable on pten kernles and remove unused cast files
      
      * rename function names
      
      * fix output type error
      
      * fix conflict with develop branch
      
      * set data type to variable with pten's dtype
      
      * fix test_cast_api type mismatch
      
      * densorTensro mutable_data support 0 bytes value
      
      * fix the inplace bug of reshape kernel
      
      * fix pten.backend != variable.place when moving storage, palce mismatch bug
      
      * fix conflict with develop branch
      
      * Fix bug of paddle::experimental::MovesStorage
      
      * fix ReMakePtenDenseTensor place mismatch bug
      
      * Revert "fix ReMakePtenDenseTensor place mismatch bug"
      
      This reverts commit 86336032f60b8a15eacd2c1ff2fa513f5d8dfd1a.
      
      * fix ReMakePtenDenseTensor place mismatch bug
      
      * reverts the set_lod interface, test=develop
      
      * modify by the review options
      
      * modify error message
      
      * add & for const input arguments
      
      * add reference in params
      
      * elementwise_sub add mutable_data
      
      * fix ResetHolderWithType check size bug
      
      * add dependence pten_tensor to test_cast_api object
      
      * remove unused code to pass ci coverage
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: Nshixiaowei02 <39303645+Shixiaowei02@users.noreply.github.com>
      5caa6fc5
    • N
      modified the elementwise_op_broadcast and elementwise_op_impl for xpu2 (#37226) · 79ee6d63
      niuliling123 提交于
      * modified the elementwise_op_broadcast and elementwise_op_impl for xpu2
      79ee6d63
  20. 19 11月, 2021 1 次提交
  21. 18 11月, 2021 1 次提交
    • Y
      [PTen]elementwise_sub kernel refactor (#37260) · 36a95654
      YuanRisheng 提交于
      * elementwise_add kernel refactor
      
      * fix compile bugs in elementwise_add refactor
      
      * fix compile bugs when run in npu/xpu
      
      * fix bugs when run unit test
      
      * fix bugs when run ci-windows
      
      * modify code as recommended
      
      * code format adjust
      
      * fix bugs when run ci
      
      * fix compile bug when run in ci-windwos
      
      * elementwise_sub refactor
      
      * add PD_DLL_DECL for elementwise_sub
      
      * fix bugs when compilei
      36a95654