tensorflow1.0一下替换的函数

2017-07-28  本文已影响0人  Do_More

In tf 1.0.0, the API has been changed such as:

tf.nn.seq2seq.sequence_loss_by_example(
to
tf.contrib.legacy_seq2seq.sequence_loss_by_example(

tf.nn.rnn_cell.
to
tf.contrib.rnn.

tf.nn.rnn_cell.MultiRNNCell(
to
tf.contrib.rnn.MultiRNNCell(

上一篇下一篇

猜你喜欢

热点阅读