code: def add(self, delta):
          
          if self.lw is None:
              return Weights(lw=delta)
          else:
              return Weights(lw=self.lw + delta)
docs: Increment weights: lw <-lw + delta. 
  
          Parameters
          ----------
          delta: (N,) array
              incremental log-weights