| 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 |

|
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.
|