Parallel depth processing architecture for neural networks.

TH2401000860APending Publication Date: 2026-11-09QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
TH2401000860
Authority / Receiving Office
TH · TH
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-02
Filing Date
2022-08-22
Publication Date
2026-11-09
Patent Text Reader

Abstract

DEPCT67 outlines methods and tools for performing machine learning tasks, and specifically for neural network processing architectures and circuits for improved performance through depth parallelism. A typical neural network processing circuit generally includes a number of groups of processing element (PE) circuits, where each group of PE circuits comprises a number of PE circuits configured to process inputs in parallel at a certain depth.
Need to check novelty before this filing date? Find Prior Art

Claims

DEPCT67 1. A processing circuit is composed of a number of groups of processing element (PE) circuits in which: Each group of PE circuits comprises a number of PE circuits configured to process inputs in parallel at a certain depth, and each PE circuit comprises: one or more multiplication circuits, each multiplication circuit configured to calculate partial products, and a prime accumulator whose inputs are connected to the outputs of one or more multiplication circuits, which is configured to create the sum of the partial products calculated by each of the multiplication circuits.

1. Multiplication of one or more circuits.

2. A processing circuit under claim 1, in which each PE circuit is further incorporated with: a register whose input is connected to the output of a specific collector.

3. A processing circuit under claim 2, which is further incorporated with a number of aggregate collectors, in which the output of a register in each PE circuit is connected to the input of another register in another PE circuit in the group of PE circuits, or to the input of one of the aggregate collectors. 4.The processing circuit according to claim 3, which is further aggregated with a bus, where the output of one of the registers in each PE circuit is connected to bus 5. The processing circuit according to claim 4, where the output of each individual collector is further aggregated with bus 6. The processing circuit according to claim 2, where each PE circuit is further aggregated with a first selection circuit whose first input is connected to the output of a local collector and whose output is connected to the input of register 7. The processing circuit according to claim 6, where the first selection circuit in each PE circuit has a second input connected to the output of register 8. The processing circuit according to claim 7, where the first selection circuit is aggregated with a 2:1 multiplexer, a three-state buffer, or a number of switches 9.

10. A processing circuit under claim 6 where at least some of the PE circuits in each group of PE circuits are further incorporated with a second selection circuit having an output connected to a register input, a first input connected to a register output, and a second input connected to the output of another register in another PE circuit in the group of PE circuits.

11. A processing circuit under claim 9 where the second selection circuit is incorporated with a 2:1 multiplexer, a three-state buffer, or a number of switches.

12. A processing circuit under claim 1 which is further incorporated with a number of aggregate collectors, each of which has an input connected to the output of one of the PE circuit groups.

13. A processing circuit under claim 1 where a number of PE circuits are further configured to process a number of inputs at a certain depth in parallel.The neural network processing method, which comprises: receiving input for processing, and for each segment of a certain number of segments of the received input: generating each type of intermediate output for each level of depth in a significantly parallel neural network based on the weights in the neural network associated with each depth level in the neural network; sequentially accumulating the intermediate outputs for each depth level into a final output; and outputting the final output to the memory bus.

14. The method according to claim 13, where: the input consists of data from a three-dimensional space, where the first dimension in the three-dimensional space corresponds to the horizontal dimension, the second dimension in the three-dimensional space corresponds to the vertical dimension, and the third dimension in the three-dimensional space corresponds to the depth dimension.

15. The method according to claim 14, where: the data from the three-dimensional space consists of video data, and the depth dimension corresponds to the temporal channel in the video data. 16.The method according to claim 13, where the generation of intermediate output for each depth level in a neural network involves: generating intermediate output via a multiplier-and-accumulator (MAC) circuit and storing the value of the MAC circuit in a tab register.

17. The method according to claim 16, where the generation of intermediate output for each depth level in a neural network involves additionally shifting the value in the tab register during each cycle of a number of processing cycles.

18. The method according to claim 13, where the sequential accumulation of intermediate output for each depth level to a final output involves accumulating the shifted values ​​associated with each depth level of the corresponding depth on a number of processing cycles, stored in one or more tab registers.

19. The method according to claim 13, where the final output is output to the memory bus involves outputting each intermediate output to the memory bus. 20.The method under claim 13, where the final output to the memory bus is based on a signal indicating that processing has been completed for a certain number of threshold cycle depths 21. The set of tools consists of: memory; a processor configured to: receive input for processing; and for each segment of a certain number of input segments: generate intermediate outputs for each level of depth in a significant parallel neural network based on the neural network weights associated with each level of depth in the neural network; accumulate the intermediate outputs for each level of depth in sequence to a final output; and output the final output to the memory bus; and a digital post-processing block configured to retrieve the final output from the memory bus and execute one or more operations based on the final output 22.The toolkit under claim 21, where: the input consists of data from a three-dimensional space, where the first dimension in the three-dimensional space corresponds to the horizontal dimension, the second dimension in the three-dimensional space corresponds to the vertical dimension, and the third dimension in the three-dimensional space corresponds to the depth dimension.

23. The toolkit under claim 22, where: the data from the three-dimensional space consists of video data, and the depth dimension corresponds to the time channel in the video data.

24. The toolkit under claim 21, where, to generate intermediate output for each depth level in a neural network, the processor is configured to: generate intermediate output via a multiplier-cumulative (MAC) circuit and store the value of the MAC circuit in a tab register.

25. The toolkit under claim 24, where, to generate intermediate output for each depth level in a neural network, the processor is further configured to shift the value in the tab register between each cycle of a certain number of processing cycles. 26.The toolkit under claim 21, in which the processor is configured to accumulate intermediate outputs for each depth level in sequence to a final output, accumulates shifted values ​​associated with each depth level corresponding to a certain number of processing cycles, stored in one or more tab registers.

27. The toolkit under claim 21, in which the processor is configured to output the final output to the memory bus, accumulates intermediate outputs for each intermediate output value to the memory bus.

28. The toolkit under claim 21, in which the processor is configured to output the final output to the memory bus, accumulates the final output based on a signal indicating that processing has been completed for a certain number of depth thresholds. 29.The toolkit comprises: paths for receiving input for processing; paths for generating intermediate outputs for each depth level of a given depth in the neural network based on neural network weights associated with each depth level for each segment of a given input segment and in parallel significantly; paths for sequentially accumulating intermediate outputs for each depth level into a final output for each segment of a given input segment; and paths for outputting the final output to the memory bus for each segment of a given input segment.