code: def from_list(self, lst):
      assert len(lst) == self.capacity
      self.elements = list(lst)
      for i in range(self.capacity - 1, 2 * self.capacity - 1):
          self.update(i, 1.0)
  
file_path: PARL/benchmark/fluid/Prioritized_DQN/proportional_per.py
imports: import numpy
label_desc: Use image node_id 6 for calling the SumTree obj's underlying member method code with example usage: obj.from_list(lst) without return types