Commit 42b61fbd authored by Francois Chollet's avatar Francois Chollet Committed by TensorFlower Gardener
Browse files

Refactor Sequential model to make it behave exactly like a subclassed network...

Refactor Sequential model to make it behave exactly like a subclassed network unless it receives an input_shape argument with its first layer. In particular in graph mode no placeholder gets created by a Sequential model (unless an input shape is provided).

PiperOrigin-RevId: 207921752
parent 2345997d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment