Neural network training method and related device
Патент · US A1
Полный текст
Embodiments of this application disclose a neural network training method. A first module in a federated neural network is deployed in each of a plurality of first devices. The first module includes a feature extraction module. A plurality of second modules in the federated neural network and early exit modules connected to the respective second modules are deployed in a second device. It can be learned that, in a federated learning process, the second device may include a plurality of early exit nodes, and each early exit node corresponds to one second module and a corresponding early exit module connected to the second module. In this way, target networks of different structures may be flexibly deployed in different first devices. For example, flexible scheduling may be performed based on resource statuses of different first devices, such that each first device can implement efficient data processing.