Softmax calculation and architecture using a modified coordinate rotation digital computer (CORDIC) approach
AssigneeXilinx, Inc.
InventorTomas Figliolia
Life of this patent
Estimating the term…
Loading patent…
AssigneeXilinx, Inc.
InventorTomas Figliolia
Estimating the term…
Apparatus and associated methods relate to providing a modified CORDIC approach and implementing the modified CORDIC approach in SoftMax calculation to reduce usage of hardware resources. In an illustrative example, a system may include (a) a first circuit configured to transform each element Vi of an input vector V into Vi=Vpi+ki·ln 2 to generate a second data set, (b) a second circuit configured to perform exponential calculations on the second data set to generate a third data set that has a first mantissa ∑ j = 1 n 2 k j · f exp ( V pj ) 2 k total and an exponent Ktotal, (c) a third circuit configured to perform logarithm calculations to generate a third sub data set that has a second mantissa 2 f ln ( ∑ j = 1 n 2 k j · f exp ( V pj ) 2 k total ) , and, (d) a fourth circuit configured to perform exponential calculations to generate an output data set that has 2 k i - k total · f exp ( V pi + 2 f ln ( ∑ j = 1 n 2 k j · f exp ( V pj ) 2 k total ) , the output data set may be interpreted as a probability distribution of each element Vi of the input vector V.
A system comprising:
A method comprising:
Dependencies are inferred from the claim text.