don*_*mei 5 python nlp tensorflow seq2seq
self._data_path = data_path
self._vocab = vocab
self._hps = hps
self._single_pass = single_pass
# Initialize a queue of Batches waiting to be used, and a queue of Examples waiting to be batched
self._batch_queue = Queue.Queue(self.BATCH_QUEUE_MAX)
self._example_queue = Queue.Queue(self.BATCH_QUEUE_MAX * self._hps.batch_size)?
Run Code Online (Sandbox Code Playgroud)
这段代码突然无法运行,因为tensorflow变成了1.6版本?
| 归档时间: |
|
| 查看次数: |
2972 次 |
| 最近记录: |