1. 24 4月, 2023 1 次提交
  2. 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
  3. 21 4月, 2023 2 次提交
  4. 20 4月, 2023 7 次提交
  5. 19 4月, 2023 2 次提交
  6. 17 4月, 2023 25 次提交
  7. 15 4月, 2023 1 次提交