Cross-entropy is a generic performance metric. It just happens to be a loss function for model training but it isn't tied to model training.