class_docstr: For 1bit compression.
class_docstr_tok: ["For","1bit","compression","."]
code: def __init__(self, compressor, mu, wd, threshold, *args, **kwargs):
      self.compressor = compressor
      self.mom = None
      self.cache = None
      self.mu = mu
      self.wd = wd
      self.threshold = threshold
      self.wdmom = False
      self.inited = False
  
imports: from functools import reduce
  import mxnet.ndarray
label_desc: Use image node_id 1 to create a new WeightDecayMomentumAdapter object from inherited base classes: Compressor with example: obj = WeightDecayMomentumAdapter(compressor, mu, wd, threshold)