• L
    fix potential tensor leak in tensor.__setitem__ (#35013) · 763b6d91
    Leo Chen 提交于
    * fix index tensor leak in __setitem__
    
    * fix another usage of PyTuple_Pack
    
    * refine code
    
    * refine code
    
    * handle None index
    
    * add Py_DecRef
    
    * revert ut
    
    * refine code
    
    * merge develop
    
    * use RAII
    
    * follow comments
    763b6d91
imperative.cc 88.4 KB