class_docstr: A buffer list.
class_docstr_tok: ["A","buffer","list","."]
code: def __init__(self, buffers):
      super(BufferList, self).__init__()
  
      self.buffers = []
      for i, b in enumerate(buffers):
          name = "_buffer_{}".format(i)
  
          self.register_buffer(name, b)
          self.buffers.append(getattr(self, name))
  
file_path: pomegranate/pomegranate/_utils.py
imports: import numpy
  import torch
  import collections
  from apricot import FacilityLocationSelection
  from apricot import FeatureBasedSelection
label_desc: Use image node_id 1 to create a new BufferList object from inherited base classes: torch.nn with example: obj = BufferList(buffers)