Research Article
Conflict-Resilient Incremental Offloading of Deep Neural Networks to the Edge of Smart Environment
Algorithm 2
The CIODE Offloading algorithm.
(i) | Input; | (ii) | Output; | 0 | function Offloading(): | (1) | for to | (2) | while | (3) | if formula (10) = = true | (4) | update ;//change collaboration device | (5) | offload();//upload partitions to the corresponding device | (6) | update ; | (7) | end if | (8) | end while | (9) | offload(); | (10) | end for | (11) | = execute();//cooperate with each corresponding device to compute | (12) | return; | (13) | End; |
|