I am trying to understand the following keras model:
in = keras.Input(shape = 76)
x = layers.Dense(80, activation='tanh')(in)
x = layers.Dense(70, activation='tanh')(x)
x = layers.Dense(60, activation='tanh')(x)
x = layers.Dense(50, activation='tanh')(x)
x = layers.Dense(40, activation='tanh')(x)
x = layers.Dense(30, activation='tanh')(x)
x = layers.Dense(20, activation='tanh')(x)
x = layers.Dense(10, activation='tanh')(x)
out = layers.Dense(1, activation='linear')(x)
model = keras.Model(in, out)
So in general, I would like to know what this model is doing. I also have two specific questions:
Is there a mismatch between in the input tensor (shape=76) and the first layer's units (shape=80)? What effect does a mismatch have if any? How can 76 inputs go into 80 nodes/units?
What is the purpose parentheses input at, for example "(in)" in the first Dense layer
x = layers.Dense(80, activation='tanh')(in)
or the "(x)" inx = layers.Dense(70, activation='tanh')(x)
the second layer? I am not familiar with this type of notation in keras and I've looked everywhere online to for insight.
Thanks in advance!