Basic usability fixes for RNNCell wrappers
authorAllen Lavoie <allenl@google.com>
Thu, 17 May 2018 21:32:47 +0000 (14:32 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 17 May 2018 21:37:26 +0000 (14:37 -0700)
commit620bcf01283abc434b1971106863269168cb8a5a
tree6317560b74256003ae8fe21667da635c56505024
parent5704164f0e7d6a040d8213fd5993cd2c64959fd7
Basic usability fixes for RNNCell wrappers

They weren't calling their parent constructors (for the Keras base Layer), so a bunch of their methods threw odd errors. There may still be issues, but hopefully not so blatent.

Fixes #19208. For real this time.

PiperOrigin-RevId: 197052962
tensorflow/contrib/rnn/python/kernel_tests/core_rnn_cell_test.py
tensorflow/python/ops/rnn_cell_impl.py