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(
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(
本文标题:tensorflow1.0一下替换的函数
本文链接:https://www.haomeiwen.com/subject/xxrflxtx.html
网友评论