Hello, I am training a neural network using the following code (Keras):
n_classes = 106
input_layer = Input(shape=(n_classes,))
#I want to output this layer
dense_layer = Dense(80, activation='softmax')(input_layer)
output_layer = Dense(n_classes, activation='softmax')(dense_layer)
model = Model(inputs=input_layer, outputs=[output_layer])
The input has 106 classes, but I want to output the dense layer which is smaller than that (80).
How can I do that?