1. 24 12月, 2021 1 次提交
    • C
      [pten] combine reduce_cuda codes (#38328) · 08941eda
      chentianyu03 提交于
      * combine reduce_cuda codes
      
      * support float16 in pten redcue_mean
      
      * replace ReduceCudaKernel impl with pten reduce impl
      
      * mv reduce funcs into reduce_cuda_impl
      
      * rm unsed codes and headers
      
      * mv GetReduceDim into reduce_cuda_impl
      
      * recover GetReduceDim in reduce_op.h
      
      * add new dispatch macro
      
      * fix pool op output not inited and cause transform to pten::denseTensor error
      
      * fix output tensor not initialized error
      
      * rename new dispatch macro and format code style
      
      * rm reduce_functor_op.h file
      08941eda
  2. 23 12月, 2021 4 次提交
  3. 22 12月, 2021 3 次提交
  4. 21 12月, 2021 3 次提交
  5. 20 12月, 2021 3 次提交
  6. 17 12月, 2021 4 次提交
  7. 16 12月, 2021 3 次提交
  8. 15 12月, 2021 2 次提交
  9. 14 12月, 2021 2 次提交
  10. 13 12月, 2021 1 次提交
  11. 10 12月, 2021 3 次提交
  12. 09 12月, 2021 2 次提交
  13. 08 12月, 2021 1 次提交
  14. 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
  15. 03 12月, 2021 1 次提交
  16. 02 12月, 2021 1 次提交
  17. 30 11月, 2021 2 次提交
  18. 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
  19. 25 11月, 2021 1 次提交
    • Z
      【PTen】Add fill_constant kernel using ScalarArray in pten (#37481) · a0d465f8
      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
      
      * add fill_constant kernel using ScalarArray
      
      * modify some prompt
      
      * remove fill_constant kernel with no shape
      a0d465f8