Running listing 10.10 on colab fails with an InvalidArgumentError and the error message "Only one input size may be -1, not both 0 and 1". (see https://colab.research.google.com/github/fchollet/deep-learning-with-python-notebooks/blob/master/chapter10_dl-for-timeseries.ipy)