def METHOD_NAME(self):
    if (self.check_emb_on_pin_memory() and self.pool_size is not None and
            self.buffer_size is not None and len(self.histories) > 0):
        self.pool = StreamPool(self.pool_size, self.buffer_size,
                               self.hidden_dim)