US 11,789,710 B2
Compilation method and apparatus with neural network
Hanwoong Jung, Seoul (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Mar. 10, 2022, as Appl. No. 17/691,679.
Claims priority of application No. 10-2021-0125072 (KR), filed on Sep. 17, 2021.
Prior Publication US 2023/0091392 A1, Mar. 23, 2023
Int. Cl. G06F 8/41 (2018.01); G06N 3/10 (2006.01)
CPC G06F 8/443 (2013.01) [G06F 8/451 (2013.01); G06N 3/10 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A processor-implemented compile method for a neural network, the compile method comprising:
receiving data related to the neural network;
generating a grouped layer by grouping layers comprised in the neural network based on the data;
generating a set of passes executable in parallel based on a dependency between a plurality of passes to process the neural network;
generating a set of threads performing a plurality of optimization functions based on whether optimization operations performed by the optimization functions is performed independently for the layers, respectively, or sequentially based on a dependency between the layers; and
performing compilation in parallel based on the grouped layer, the set of passes, and the set of threads.