code: def add(self, val):
      self._count += 1
      cnt = self._count
      if cnt & self._mask:
          return
      b = cnt >> self._shift
      b = self._log2[b]  # b = int(math.log(b, 2))
      if b >= self._buckets:
          self._index[self._buckets_index] = 0
          self._buckets_index = (
              self._buckets_index + 1
          ) % self._buckets
          self._shift += 1
          self._mask = (self._mask << 1) | 1
          b += self._buckets - 1
      b = (b + self._buckets_index) % self._buckets
      self._bucket[b][self._index[b]] = val
      self._index[b] += 1
  
imports: import math
label_desc: Use image node_id 3 for calling the UniformSampleAccumulator obj's underlying member method code with example usage: obj.add(val) without return types