tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.36k stars 1.96k forks source link

ValueError: The shape for decoder_1/while/Merge_5:0 is not an invariant for the loop. It enters the loop with shape (25, 7), but has shape (25, 1) after one iteration. Provide shape invariants using either the `shape_invariants` argument of tf.while_loop or set_shape() on the loop variables. #373

Open Yangli0505 opened 6 years ago