【发布时间】:2015-11-22 05:31:59
【问题描述】:
我有兴趣使用预训练的 word2vec 初始化 tensorflow seq2seq 实现。
我看过代码。似乎嵌入已初始化
with tf.variable_scope(scope or "embedding_attention_decoder"):
with tf.device("/cpu:0"):
embedding = tf.get_variable("embedding", [num_symbols, cell.input_size])
如何将其更改为使用预训练的 word2vec 进行初始化??
【问题讨论】:
标签: tensorflow