【发布时间】:2016-08-29 17:22:59
【问题描述】:
我正在使用 tensorflow 的 seq2seq.py 中的函数构建一个 seq2seq 模型,其中它们具有这样的函数:
embedding_rnn_seq2seq(encoder_inputs, decoder_inputs, cell,
num_encoder_symbols, num_decoder_symbols,
embedding_size, output_projection=None,
feed_previous=False, dtype=dtypes.float32,
scope=None)
但是,这个函数似乎没有将预训练的嵌入作为输入,有什么方法可以在这个函数中将预训练的词嵌入作为输入?
【问题讨论】:
标签: python machine-learning tensorflow recurrent-neural-network lstm