Zero coefficient skipping convolution neural network engine
Abstract
A convolution engine, such as a convolution neural network, operates efficiently with respect to sparse kernels by implementing zero skipping. An input tile is loaded and accumulated sums are calculated for the input tile for non-zero coefficients by shifting the tile according to a row and column index of the coefficient in the kernel. Each coefficient is applied individually to tile and the result written to an accumulation buffer before moving to the next non-zero coefficient. A 3D or 4D convolution may be implemented in this manner with separate regions of the accumulation buffer storing accumulated sums for different indexes along one dimension. Images are completely processed and results for each image are stored in the accumulation buffer before moving to the next image.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing convolution, the method comprising: providing an array of coefficients C(kz, Z, kx, ky) defining a Z dimension, a kz dimension, a kx dimension, and a ky dimension; providing a plurality of input images each corresponding to an index in the kz dimension; (a) selecting, by an electronic device, a next tile position of a plurality of tile positions as the current tile position; (b) selecting, by an electronic device, a next input image I(kz1) of the plurality of input images as the current image and an index kz1 corresponding to the current image as a current kz index; (c)
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- Alex Krizhevsky et al. Imagenet Classification With Deep Convolutional Neural Networks. The 26th annual conference on Neural Information Processing Systems (NIPS'25): Dec. 3-8, 2012, Dec. 6, 2012.
- Alex Krizhevsky. One Weird Trick for Parallelizing Convolutional Neural Networks. Apr. 23, 2014.
- Han Song et al. EIE: Efficient Inference Engine on Compressed Deep Neural Network. 2013 21st International Conference on Program Comprehension (ICPC); [International Symposium on Computer Architecture.(ISCA)], IEEE, US, Jun. 18, 2016 (Jun. 18, 2016), pp. 243-254.
- Rahman Atul et al. Efficient FPGA Acceleration of Convolutional Neural Networks Using Logical 3D Compute Array. 2016 Design, Automation & Test in Europe Conference & Exhibition. EDAA, Mar. 14, 2016 (Mar. 14, 2016), pp. 1393-1398.