• W
    paddle.save/load support nested structure and layer (#32446) · 727b28d7
    WeiXin 提交于
    * support save/load binary format tensor
    
    * Fix error when create cudaplace
    
    * Fix error when create cudaplace
    
    * Fix error when create cudaplace
    
    * get devive context from pool.
    
    * move define of 'SerializeToStream' and 'DeserializeFromStream' to 'lod_tensor.cc' and 'selected_rows.cc'.
    
    * support complex object
    
    * improve coverage.
    
    * improve coverage
    
    * improve coverage.
    
    * fix a bug.
    
    * polish API
    
    * save/load program
    
    * paddle.save/load: layer
    
    * deal with conflict
    
    * if PY2, block test_paddle_save_load.TestSaveLoadLayer
    
    * polish code.
    
    * polish code
    
    * edit unnittest
    
    * The condition for object to be identified as state_dict becomes strict
    
    * use 'core._cuda_synchronize'
    727b28d7
test_paddle_save_load.py 36.5 KB