Correct the mistakes caused by [lstm]*2 style-like MultiRNNCell construction syntax. The corresponding error is "ValueError: Dimensions must be equal...". Low TensorFlow version (like 1.0) might ignore this and run without errors. But with higher version, this syntax fails. [lstm]*2 syntax just creates two exactly same lstm instances which is actually wrong.
More detail can be found in the discussion here: https://github.com/tensorflow/tensorflow/issues/14897
Correct the mistakes caused by
[lstm]*2
style-like MultiRNNCell construction syntax. The corresponding error is "ValueError: Dimensions must be equal...". Low TensorFlow version (like 1.0) might ignore this and run without errors. But with higher version, this syntax fails.[lstm]*2
syntax just creates two exactly same lstm instances which is actually wrong. More detail can be found in the discussion here: https://github.com/tensorflow/tensorflow/issues/14897