A Unified Framework for Soft Threshold Pruning