pop

FullyConnected.pop(rebuild=True)

Removes the last layer in the model.