Unverified Commit 107b7c4d authored by Dan Moldovan's avatar Dan Moldovan Committed by GitHub
Browse files

Fixes for rnn_keras_estimator.ipynb

* wrapping `range(batch_size)` into a `list` call so that it's convertible to `Tensor` in Python 3, where `range` alone returns just a generator
* specifying a `dtype` argument to `LSTMBlockCell`'s constructor

These should fix the breakages in #24701
parent 7fa90cdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment