我们已经支付了def DecodeTrainingSet(self, decoder_embedded_input, sequence_length_output, max_length, attn_cell, initial_state, output_layer, decoding_scope):
train_helper = tf.contrib.seq2seq.TrainingHelper(decoder_embedded_input, sequence_length_output)
decoder = tf.contrib.seq2seq.BasicDecoder(cell=attn_cell,
helper=train_helper,
initial_state=initial_state, output_layer=output_layer)
decoder_final_output, decoder_final_state, final_sequence_lengths = tf.contrib.seq2seq.dynamic_decode(decoder=decoder, output_time_major=False,
impute_finished=True, maximum_iterations=max_length, scope=decoding_scope)
return decoder_final_output
版本。
我正在尝试在ckeditor
上解决this issue。