tf.contrib.seq2seq.dynamic_decode 返回值的shape 巨坑

tf.contrib.seq2seq.dynamic_decode 這個函數真的是巨坑啊,每個batch,他的rnn_output的shape竟然會是: [batch_size, max_efficient_sentence across entire batch, num_classes] ,而不是咱們想要的每一個序列應該有的最大長度,儘管咱們在TrainingHelper裏面指定了Sequen
相關文章
相關標籤/搜索