Answer:
defines MindSpore cells (neural network units), loss functions, and optimizers.
Explanation:
nn: network operators
-Conv2D - MaxPool
-Flatten - AvgPool
-Softmax - TopK
-ReLU - SoftmaxCrossEntropy
-Sigmoid - SmoothL1Loss
-Pooling - SGD
-BatchNorm - SigmoidCrossEntropy