• Xin Yao's avatar
    [Feature] Add `state_dict`, `load_state_dict`, `param_groups` to... · ae4a5b73
    Xin Yao authored
    [Feature] Add `state_dict`, `load_state_dict`, `param_groups` to `dgl.optim.SparseGradOptimizer` (#5311)
    
    * init update
    
    * all get/set optm_state
    
    * add unit tests
    
    * add docstring
    
    * fix for multiple embeddings
    
    * move embedding methods to private
    
    * fix lint
    
    * fix unit tests
    
    * resolve comments
    
    * merge master
    ae4a5b73
test_sparse_emb.py 3.71 KB