Huawei H13-311_V3.5 Practice Test 1

Question 1 / 40
When learning the MindSpore framework, John learns how to use callbacks and wants to use it for AI model training. For which of the following scenarios can John use the callback?
Early stopping
Adjusting an activation function
Saving model parameters
Monitoring loss values during training
Comment (0)
Suggested answer: A, C, D
Explanation:
In MindSpore, callbacks can be used in various scenarios such as:
Early stopping: To stop training when the performance plateaus or certain criteria are met.
Saving model parameters: To save checkpoints during or after training using the ModelCheckpoint callback.
Monitoring loss values: To keep track of loss values during training using LossMonitor, allowing interventions if necessary.
Adjusting the activation function is not a typical use case for callbacks, as activation functions are usually set during model definition.