The Sequential model - Keras
https://keras.io/guides/sequential_model12.04.2020 · import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers. When to use a Sequential model. A Sequential model is appropriate for a plain stack of layers where each layer has exactly one input tensor and one output tensor. Schematically, the following Sequential model:
Transfer learning & fine-tuning - Keras
https://keras.io/guides/transfer_learning15.04.2020 · The typical transfer-learning workflow. This leads us to how a typical transfer learning workflow can be implemented in Keras: Instantiate a base model and load pre-trained weights into it. Freeze all layers in the base model by setting trainable = False. Create a new model on top of the output of one (or several) layers from the base model.