Refactor keras.Sequential and enable building Sequential models without specifying...
authorFrancois Chollet <fchollet@google.com>
Fri, 23 Mar 2018 01:59:48 +0000 (18:59 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 23 Mar 2018 02:02:10 +0000 (19:02 -0700)
commit80383763ed973c40cf06d035cc17afe2189ebd0b
treef8abbeff802eaef21ae4649ad21bbbd2d3385da9
parent0dadbfe118c1d0510deaf4f5bc0a78c6b0dbda9a
Refactor keras.Sequential and enable building Sequential models without specifying an input shape in advance (the model gets built on fit/etc, like subclassed models).

PiperOrigin-RevId: 190161771
tensorflow/python/keras/_impl/keras/engine/network.py
tensorflow/python/keras/_impl/keras/engine/saving_test.py
tensorflow/python/keras/_impl/keras/engine/sequential.py
tensorflow/python/keras/_impl/keras/engine/sequential_test.py
tensorflow/python/keras/_impl/keras/engine/training.py
tensorflow/python/keras/_impl/keras/estimator.py
tensorflow/python/layers/base.py
tensorflow/tools/api/golden/tensorflow.keras.-sequential.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.models.-sequential.pbtxt