from tensorflow.keras.layers import Dense from tensorflow.keras.models import Model # instantiate model model = Model() # add layers to model model.add(Dense(16, activation='relu')) model.add(Dense(8, activation='relu')) model.add(Dense(1))In this example, we first import the Dense layer and Model class from tensorflow.keras. We then instantiate an empty model object. We then use the add method to add a Dense layer with 16 units and a relu activation function. We repeat this process to add another Dense layer with 8 units and a relu activation function. Finally, we add a Dense layer with a single output unit. This example is a simple neural network with three layers, which can be used for binary classification tasks. The package library used in this example is tensorflow.