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: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A hardware circuit for processing an average pooling neural network layer of a neural network, the hardware circuit being configured to process the average pooling neural network layer by performing operations comprising: sending, from a first portion of memory of the hardware circuit to a matrix multiplication circuit of the hardware circuit, an input tensor to the average pooling neural network layer, wherein the matrix multiplication circuit is configured to generate a tensor corresponding to an output of the average pooling neural network layer; sending, from a second portion of memory of
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 (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.