1. 25 4月, 2023 2 次提交
  2. 24 4月, 2023 2 次提交
  3. 23 4月, 2023 2 次提交
    • J
      Cherry pick getitem/setitem 0d (#53125) · a79c04f3
      JYChen 提交于
      * support 0-D output and 0-D as indice in __getitem__
      
      * fix tests
      
      * fix inference and UT
      
      * add unittest for setitem
      
      * fix xpu test
      
      * fix xpu 0-d
      a79c04f3
    • G
      Fix bug of block desc. (#53163) (#53176) · 7adecf40
      Ghost Screaming 提交于
      * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
      is wrong.
      
      * Remove climits.
      
      * Fix bug of BlockDesc::MoveFrom(). It's used to rebuild main_program_desc from ProgramDesc modified by Fusion Pass. As some fused operators need to create new Variables in modified ProgramDesc, MoveFrom function uses std::move() function to move these VarDesc to main_program_desc. As a result, their pointers holded by modified ProgramDesc become nullptr. When call block()->Program()->proto() function, it will call ProgramDesc::Flush() function at first, which may cause a segmentation fault.
      7adecf40
  4. 21 4月, 2023 1 次提交
    • J
      Cherry pick fix set value cpu (#53127) · e4178284
      JYChen 提交于
      * fix the set_value error in cpu
      
      * add a unitest for set_value OP
      
      * fix platform::is_gpu_place
      
      * add todo note for set_value
      
      * fix test
      e4178284
  5. 20 4月, 2023 4 次提交
  6. 19 4月, 2023 2 次提交
  7. 17 4月, 2023 17 次提交
  8. 15 4月, 2023 1 次提交
  9. 14 4月, 2023 9 次提交