US 12,229,592 B2
Method of executing task and scheduling layer tasks using neural network and electronic device using the same
Chan-Hyun Youn, Daejeon (KR); Seong-Hwan Kim, Daejeon (KR); and Gyusang Cho, Daejeon (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR); and KOREA ADVANCED INSTITUTE OF SCIENCE AND TI, Daejeon (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Sep. 17, 2021, as Appl. No. 17/477,760.
Claims priority of application No. 10-2020-0128952 (KR), filed on Oct. 6, 2020.
Prior Publication US 2022/0107837 A1, Apr. 7, 2022
Int. Cl. G06F 9/48 (2006.01); G06F 9/50 (2006.01); G06N 3/045 (2023.01)
CPC G06F 9/4881 (2013.01) [G06F 9/4856 (2013.01); G06F 9/5038 (2013.01); G06F 9/5066 (2013.01); G06N 3/045 (2023.01)] 20 Claims
OG exemplary drawing
 
1. A task execution method using resources, the task execution method comprising:
receiving an execution request for a first task;
analyzing the first task and dividing the first task into a plurality of sub-tasks;
identifying a sub-task using a first neural network from among the plurality of sub-tasks and dividing the identified sub-task into a plurality of layer tasks corresponding to calculations between layers constituting the first neural network;
calculating a deadline time of each of the plurality of sub-tasks;
scheduling a first sub-task to be scheduled to a first resource group from among the resources;
executing the first sub-task;
measuring a runtime of the executing of the first sub-task;
determining whether the runtime of the first sub-task exceeds a deadline time of the first sub-task, and
scheduling, in response to determining that the runtime of the first sub-task exceeds the deadline time of the first sub-task, the sub-task using the first neural network of the plurality of layer tasks of the sub-task using the first neural network subsequent to the first sub-task to a second resource group to reduce a total runtime of the first task,
wherein the sub-task using the first neural network is a task to be processed faster by the second resource group than the first resource group.