'Update last batch idxs with new priority.'

def update_last_batch(self, delta):

    self.priorities[self.last_batch] = np.abs(delta)
    self.priorities[0:self.init_length] = np.max(self.priorities[self.init_length:])
