Single-label categorical classification predicts one class per example. A neural network uses one output unit per class, with softmax producing the class probabilities. section 20.1.6
Keras output layer
For one-hot encoded targets, finish a dense network with Dense(num_classes, activation="softmax") and compile it with categorical_crossentropy. Integer targets instead use sparse_categorical_crossentropy. section 20.1.6

