In Gluon, we can conveniently use data parallelism to perform multi-GPU example, we do not need to implement the helper function to synchronize data among multiple GPUs, as described in the"Multi-GPU Computation" section, ourselves.
We train the ResNet-18 model described in "ResNet" section on the CIFAR-10 data set. We will also apply the methods described in the "Gluon Implementation in Multi-GPU Computation" section, and use a multi-GPU training model.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.