Text this: A unified DNN weight compression framework using reweighted optimization methods