CPC G06F 13/28 (2013.01) [G06F 12/0835 (2013.01); G06N 3/063 (2013.01)] | 19 Claims |
1. A data moving method for a direct memory access apparatus, comprising:
receiving, by the direct memory access apparatus, an object data moving instruction and decoding the object data moving instruction, wherein the object data moving instruction comprises a first field, and the first field of the object data moving instruction indicates a data moving operation for a neural-network processor; and
executing, by the direct memory access apparatus, the object data moving instruction,
wherein the object data moving instruction comprises a first data moving instruction, the first data moving instruction comprises a second field, and the second field of the first data moving instruction indicates data moving address information, and
wherein the neural-network processor comprises at least one processing unit array, and the data moving address information is obtained based on a mapping relationship between data to be moved and at least one processing unit in the processing unit array.
|