• S
    Add copy from tensor (#34406) · ac33c0ca
    Shang Zhizhou 提交于
    * add api
    
    * temp save
    
    * revert
    
    * copytocpu async ok
    
    * fix style
    
    * copy sync ok
    
    * fix compile error
    
    * fix compile error
    
    * api done
    
    * update python async api
    
    * fix compile
    
    * remove async python api; add c++ async unittest
    
    * remove python async api
    
    * update unittest
    
    * update unittest
    
    * add C++ unittest for copytensor
    
    * add unittest
    
    * update namespace utils to class TensorUtils
    
    * add unittest
    
    * update unittest
    
    * update unittest
    
    * update code style
    
    * update code style
    
    * update unittest
    ac33c0ca
paddle_infer_contrib.cc 7.0 KB