• L
    Update Tensor.set() to support float16 (#19964) · 9974e407
    Leo Chen 提交于
    * don't expose numerous Tensor.set(), test=develop
    
    * fix condition, test=develop
    
    * fix float16 bug, test=develop
    
    * feed should be Tensor or np.array, not Variable or number, test=develop
    
    * use forcecast to copy numpy slice to new array, test=develop
    
    * remove float16-uint16 hacking, test=develop
    9974e407
testsuite.py 6.5 KB