code: def weight(self):
      return torch.sigmoid(self._smoothing_weight)
  
imports: import os
  import math
  import numpy
  from math import sqrt
  from scipy.fftpack import next_fast_len
label_desc: Use image node_id 4 for calling the ExponentialSmoothing obj's underlying member method code with example usage: obj.weight() and returns: torch