Relation

Build a ConvNet using TensorFlow Keras Functional API

The TensorFlow Keras Sequential API can be used to build simple models with layer operations that proceed in a sequential order. If the model is non-linear or contains layers with multiple inputs or outputs, a Sequential model is not a good choice.

model = tf.keras.Sequential([ tensorflow.keras.layers.layer_name_1(arguments), tensorflow.keras.layers.layer_name_2(arguments), ... ])

Also, we can use .add() method to add layers incrementally to a Sequential model. To remove them, we can use .pop() method.

0

3

Updated 2021-10-16

Tags

Data Science