code: def __init__(self, maxlen):
      self.maxlen = maxlen
      self.start = 0
      self.length = 0
      self.data = [None for _ in range(maxlen)]
  
imports: from __future__ import absolute_import
  from collections import deque, namedtuple
  import warnings
  import random
  import numpy
label_desc: Use image node_id 1 to create a new RingBuffer object from inherited base classes: object with example: obj = RingBuffer(maxlen)