Method and processor for performing layer fusion in neural network
Патент · US A1
Полный текст
A method of performing layer fusion on a plurality of layers, included in a neural network for execution on hardware, includes receiving an operation graph including a plurality of residual blocks and corresponding to the neural network, determining an outermost merge layer included in each of the plurality of residual blocks, determining at least one fusion receiving layer from among a plurality of outermost merge layers of the plurality of residual blocks, determining a first fused layer group including a plurality of fused layers positioned in a previous path of the at least one fusion receiving layer, and generating a fused execution graph corresponding to a first single on-chip operation unit by performing the layer fusion on the plurality of fused layers.