Research tools for communication-efficient deep learning, developed by Muhang Lan at USTC.
Latest version: 0.1.0
Install using pip
pip install deepcom
Check version number
import deepcom as dc
print(dc.__version__)
- Batch processing with enumerating given argument values:
python -m deepcom config.json
-
Convert model parameters to a numpy array:
model2params()
-
Load a numpy array as model parameters:
params2model()
- Calculating mutual information:
mutual_info()
- SuRP algorithm as a sparse compression for Laplacian sequence:
surp_algorithm()