Multilayer neural network calculation method and device based on heterogeneous multi-core processor
The invention provides a multi-layer neural network calculation method and device based on a heterogeneous multi-core processor, and relates to the technical field of neural networks, and the method comprises the steps: dividing a memory of each slave core into a calculation region and a storage reg...
Saved in:
Main Authors | , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
27.12.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a multi-layer neural network calculation method and device based on a heterogeneous multi-core processor, and relates to the technical field of neural networks, and the method comprises the steps: dividing a memory of each slave core into a calculation region and a storage region, obtaining neural network parameters, and storing the neural network parameters in the storage region of each slave core in a distributed manner; controlling the slave core to read the input data from the main memory, and storing the input data into the calculation area; and controlling the slave core to perform neural network calculation in the calculation area based on the neural network parameters stored in the storage area and the input data, and storing output data obtained by calculation into the main memory. According to the invention, the neural network parameters are stored in the slave core in a distributed manner, and data interaction with the main memory is not required during calculation of each la |
---|---|
Bibliography: | Application Number: CN202210999968 |