Native tensor processor, and partitioning of tensor contractions
Abstract
A native tensor processor calculates tensor contractions using a sum of outer products. In one implementation, the native tensor processor preferably is implemented as a single integrated circuit and includes an input buffer and a contraction engine. The input buffer buffers tensor elements retrieved from off-chip and transmits the elements to the contraction engine as needed. The contraction engine calculates the tensor contraction by executing calculations from an equivalent matrix multiplications, as if the tensors were unfolded into matrices, but avoiding the overhead of expressly unfolding the tensors. The contraction engine includes a plurality of outer product units that calculate matrix mutiplications by a sum of outer products. By using outer products, the equivalent matrix multiplications can be partitioned into smaller matrix multiplications, each of which is localized with respect to which tensor elements are required.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 29.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for calculating a contraction of tensors TX and TY using a native tensor processor; wherein the contraction of tensors TX and TY is characterized by an equivalent matrix multiplication X(l,n)×Y(n,m)=Z(l,m), where X is an unfolded matrix for tensor TX and Y is an unfolded matrix for tensor TY, and l=1 . . . L and m=1 . . . M are free indices and n=1 . . . N is a contraction index; and the native tensor processor comprises a distribution section, a processing section and a collection section, the processing section comprising a plurality of atomic processing elements (APEs) that (a) cal
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 29 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Hemsoth, N., "First In-Depth Look at Google's TPU Architecture," The Next Platform, Apr. 5, 2017, 13 pages, [Online] [Retrieved on Oct. 16, 2017] Retrieved from the Internet<URL:https://www.nextplatform.com/2017/04/05/first-depth-look-googles-tpu-architecture/?from=timeline&isappinstalled=0>.
- Jouppi, N. P. et al., "In-Datacenter Performance Analysis of a Tensor Processing Unit™," To appear at 44th International Symposium on Computer Architecture (ISCA), Toronto, Canada, Jun. 26, 2017, pp. 1-17, [Online] [Retrieved on Oct. 16, 2017] Retrieved from the Internet<URL:https://drive.google.com