def __init__(self, action_size, buffer_size, batch_size, seed):
    'Initialize a ReplayBuffer object.\n\n        Params\n        ======\n            action_size (int): dimension of each action\n            buffer_size (int): maximum size of buffer\n            batch_size (int): size of each training batch\n            seed (int): random seed\n        '
    self.action_size = action_size
    self.memory = deque(maxlen=buffer_size)
    self.batch_size = batch_size
    self.experience = namedtuple('Experience', field_names=['state', 'action', 'reward', 'next_state', 'done'])
    self.seed = random.seed(seed)
Initialize a ReplayBuffer object.

Params
======
    action_size (int): dimension of each action
    buffer_size (int): maximum size of buffer
    batch_size (int): size of each training batch
    seed (int): random seed
def __init__(self, action_size, buffer_size, batch_size, seed):
    'Initialize a ReplayBuffer object.\n\n        Params\n        ======\n            action_size (int): dimension of each action\n            buffer_size (int): maximum size of buffer\n            batch_size (int): size of each training batch\n            seed (int): random seed\n        '
    self.action_size = action_size
    self.memory = deque(maxlen=buffer_size)
    self.batch_size = batch_size
    self.experience = namedtuple('Experience', field_names=['state', 'action', 'reward', 'next_state', 'done'])
    self.seed = random.seed(seed)