Neural network unit that performs concurrent LSTM cell calculations
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorsG. Glenn Henry, Terry Parks, Kyle T. O'Brien
Life of this patent
Estimating the term…
Loading patent…
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorsG. Glenn Henry, Terry Parks, Kyle T. O'Brien
Estimating the term…
An output buffer holds N words arranged as N/J mutually exclusive output buffer word groups (OBWG) of J words each of the N words. N processing units (PU) are arranged as N/J mutually exclusive PU groups. Each PU group has an associated OBWG. Each PU includes an accumulator and an arithmetic unit that performs operations on inputs, which include the accumulator output, to generate a first result for accumulation into the accumulator. Activation function units selectively perform an activation function on the accumulator outputs to generate results for provision to the N output buffer words. For each PU group, four of the J PUs and at least one of the activation function units compute an input gate, a forget gate, an output gate and a candidate state of a Long Short Term Memory (LSTM) cell, respectively, for writing to respective first, second, third and fourth words of the associated OBWG.
An apparatus, comprising:
A method for operating an apparatus having an output buffer, an array of N neural processing units (NPU), and a plurality of activation function units, wherein each of the plurality of activation function units is implemented in circuitry, the output buffer holds N words arranged as N/J output buffer word groups of J words each of the N words, J is an integer number greater than 3 and N is an integer number at least sixteen times J, the array of N NPUs are arranged as N/J NPU groups of J NPUs each of the N NPUs, each NPU group of the N/J NPU groups has an associated output buffer word group of the N/J output buffer word groups, each NPU of the N NPUs includes an accumulator having an output and an arithmetic unit that performs operations on inputs, which include the accumulator output, to generate a first result for accumulation into the accumulator, the plurality of activation function units selectively perform an activation function on the outputs of the accumulators to generate results for provision to the N output buffer words, the method comprising:
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:
Dependencies are inferred from the claim text.