Patent ID: 11915149
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A system for managing a calculation processing graph of an artificial neural network run by a plurality of heterogeneous resources, the system comprising:
a memory storing instructions; and
at least one processor configured to execute the instructions to implement:
a model analyzer configured to generate a plurality of subgraphs comprising a first subgraph and a second subgraph by dividing the calculation processing graph generated based on an input model;
a task manager configured to allocate the plurality of heterogeneous resources to the first subgraph and the second subgraph;
a first compiler configured to generate first execution data by to be able to run on a first resource among the plurality of heterogeneous resources by compiling the first subgraph;
a second compiler configured to generate second execution data to be able to run on a second resource among the plurality of heterogeneous resources by compiling the second subgraph in parallel with compiling the first subgraph;
a model keeper configured to:
receive the first execution data and the second execution data;
output the first execution data to the first resource; and
output the second execution data to the second resource,

wherein the first subgraph and the second subgraph respectively output to the first compiler and the second compiler through separate calculation paths,
wherein the second resource is configured to:
receive the second execution data;
receive a result value of a first calculation; and
execute a second calculation based on the received second execution data and the result value of the first calculation, and

wherein the first subgraph is allocated to the first resource before the second subgraph is generated.