• L
    Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
    Leo Chen 提交于
    * test=develop, fix docker with paddle nccl problem
    
    * 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
    
    * add variable method to varbase and refactor to_variable to support return varbase
    
    * support kwargs in varbase constructor
    
    * add VarBase constructor to support default python args
    
    * refine varbase initial method
    
    * reset branch
    
    * fix ut for change VarBase error info to PaddleEnforce
    
    * cherry is parameter change before
    
    * overload isinstance to replace too many change of is_variable
    
    * rm useless files
    
    * rm useless code merged by git
    
    * test=develop, fix some ut failed error
    
    * test=develop, fix test_graph_wrapper
    
    * add some tests, test=develop
    
    * refine __getitem__, test=develop
    
    * add tests, test=develop
    
    * fix err_msg, test=develop
    cdd46d7e
loss.py 68.4 KB