Performing average pooling in hardware
Abstract
Methods and systems for receiving a request to implement a neural network comprising an average pooling layer on a hardware circuit, and in response, generating instructions that when executed by the hardware circuit, cause the hardware circuit to, during processing of a network input by the neural network, generate a layer output tensor that is equivalent to an output of the average pooling neural network layer by performing a convolution of an input tensor to the average pooling neural network layer and a kernel with a size equal to a window of the average pooling neural network layer and composed of elements that are each an identity matrix to generate a first tensor, and performing operations to cause each element of the first tensor to be divided by a number of elements in the window of the average pooling neural network layer to generate an initial output tensor.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for processing an average pooling neural network layer of a neural network on a hardware circuit without performing computations of at least a portion of the average pooling neural network layer externally from the hardware circuit, the method comprising: receiving a request to process the neural network on the hardware circuit; and in response, generating instructions that when executed by a hardware matrix computation unit of the hardware circuit that performs matrix multiplications in hardware, cause the hardware matrix computation unit to, during processing of a network input by t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- ‘maltabtricks.com’ [online] “Moving average by convolution,” Sep. 29, 2013 [retrieved on Feb. 7, 2018] Retrieved from Internet: URL<http://maltabtricks.com/post-11/moving-average-by-convolution> 3 pages.
- ‘www.cs.auckland.ac.nz’ [online] “Image Filtering,” May 25, 2010, [retrieved on Nov. 8, 2017] Retrieved from Internet: URL<https://www.cs.auckland.ac.nz/courses/compsci373s1c/PatricesLectures/Image%20Filtering_1up.pdf> 8 pages.
- ‘www.cs.toronto.edu’ [online] “Computer Vision: Filtering,” Urtasun, R. Lecture Presentation, Jan. 10, 2013 [retrieved on Feb. 7, 2018] Retrieved from Internet: URL<http://www.cs.toronto.edu/˜Urtasun/courses/CV/lecture02.pdf> 137 pages.
- British Search Report issued in Application No. GB1715180.4, dated Mar. 8, 2018, 11 pages.
- Chen et al. "DianNao: A Small-Footprint High-Throughput Accelerator for Ubiquitous Machine Learning," ACM Sigplan Notices vol. 49(4), Mar. 1, 2014, 15 pages.