1. 01 9月, 2021 1 次提交
    • Z
      Support settiem by Bool index (#35133) · d387820d
      zyfncg 提交于
      * Support getitem by Bool index
      
      * delete some debug info of bool index
      
      * support the case that the shape of bool index is different from indexed tensor
      
      * support setitem by bool index
      
      * add the unittest for throwing exception
      
      * merge conflict
      
      * add check for int tensor when index is bool
      d387820d
  2. 26 8月, 2021 1 次提交
  3. 23 8月, 2021 1 次提交
    • Z
      Support gettiem by Bool index (#35026) · b6dc16cb
      zyfncg 提交于
      * Support getitem by Bool index
      
      * delete some debug info of bool index
      
      * support the case that the shape of bool index is different from indexed tensor
      b6dc16cb
  4. 04 8月, 2021 1 次提交
    • W
      supplement the function of slice. (#34172) · 1f0f5d3c
      WeiXin 提交于
      * supplement the function of slice
      
      * edit unittest
      
      * strided_slice_op support .
      
      * polish error message.
      
      * polish error message.
      
      * polish code.
      
      * polish unittest.
      
      * polish code.
      
      * polish code
      
      * polish error message.
      1f0f5d3c
  5. 30 7月, 2021 1 次提交
  6. 11 6月, 2021 1 次提交
    • H
      [Dy2stat] Add Support for a, b = static_variable Grammar (#33499) · aa50868f
      Huihuang Zheng 提交于
      For python, if users write `a, b = var`, the `__getitem__` method will iterate through 0, 1, 2 ... until `__getitem__` throws an IndexError, then stop. The var[0], var[1] will be given to a, b respectively. If more values are given, the unpack size would cause error.
      
      We didn't raise the IndexError in the past and we add statement in `__getitem__` to raise IndexError here to support grammar like `a, b = var` in this PR.
      aa50868f
  7. 10 6月, 2021 1 次提交
  8. 09 6月, 2021 1 次提交
  9. 03 6月, 2021 1 次提交
  10. 02 6月, 2021 1 次提交
  11. 20 5月, 2021 1 次提交