NEURAL NETWORK UNIT THAT PERFORMS STOCHASTIC ROUNDING
First Claim
Patent Images
1. A neural network unit, comprising:
- a random bit source that generates random bits; and
a plurality of neural processing units (NPU), each NPU comprising;
an accumulator into which the NPU accumulates a plurality of products as an accumulated value; and
a rounder that receives the random bits from the random bit source and stochastically rounds the accumulated value based on a random bit received from the random bit source.
1 Assignment
0 Petitions
Accused Products
Abstract
A neural network unit includes a random bit source that generates random bits and a plurality of neural processing units (NPU). Each NPU includes an accumulator into which the NPU accumulates a plurality of products as an accumulated value and a rounder that receives the random bits from the random bit source and stochastically rounds the accumulated value based on a random bit received from the random bit source.
63 Citations
21 Claims
-
1. A neural network unit, comprising:
-
a random bit source that generates random bits; and a plurality of neural processing units (NPU), each NPU comprising; an accumulator into which the NPU accumulates a plurality of products as an accumulated value; and a rounder that receives the random bits from the random bit source and stochastically rounds the accumulated value based on a random bit received from the random bit source. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for operating a neural network unit having a plurality of neural processing units (NPU), the method comprising:
-
generating, by a random bit source, random bits; and by each NPU; accumulating into an accumulator a plurality of products as an accumulated value; receiving, by a rounder, the random bits from the random bit source; and stochastically rounding, by the rounder, the accumulated value based on a random bit received from the random bit source. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer program product encoded in at least one non-transitory computer usable medium for use with a computing device, the computer program product comprising:
computer usable program code embodied in said medium, for specifying a neural network unit, the computer usable program code comprising; first program code for specifying a random bit source that generates random bits; and second program code for specifying a plurality of neural processing units (NPU), each NPU comprising; an accumulator into which the NPU accumulates a plurality of products as an accumulated value; and a rounder that receives the random bits from the random bit source and stochastically rounds the accumulated value based on a random bit received from the random bit source.
Specification