we specify the number of nodes in this layer which in this case is the number of classes like we talked about earlier then we say we want to apply the softmax function to turn it into probabilities well tell tens flow not to Train the first layer which is the ResNet 50 model because that's the model that was already pre trained with the imagenet data now we'll get to a more complex line of code in a compile command I'll describe the broad concept here and we'll give a more complete explanation of the underlying theory in a couple