WEIGHT-SHIFTING MECHANISM FOR CONVOLUTIONAL NEURAL NETWORKS
First Claim
1. A processor, comprising:
- a processor core including;
a first logic to determine a set of weights for use in a convolutional neural network (CNN) calculation;
a second logic to scale up the weights using a scale value; and
a calculation circuit including;
a third logic to receive the scale value, the set of weights, and a set of input values, each input value and associated weight of a same fixed size;
a fourth logic to determine results from CNN calculations based upon the set of weights applied to the set of input values;
a fifth logic to scale down the results using the scale value;
a sixth logic to truncate the scaled down results to the fixed size; and
a seventh logic to communicatively couple the truncated results to an output for a layer of the CNN.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor includes a processor core and a calculation circuit. The processor core includes logic determine a set of weights for use in a convolutional neural network (CNN) calculation and scale up the weights using a scale value. The calculation circuit includes logic to receive the scale value, the set of weights, and a set of input values, wherein each input value and associated weight of a same fixed size. The calculation circuit also includes logic to determine results from convolutional neural network (CNN) calculations based upon the set of weights applied to the set of input values, scale down the results using the scale value, truncate the scaled down results to the fixed size, and communicatively couple the truncated results to an output for a layer of the CNN.
-
Citations
20 Claims
-
1. A processor, comprising:
-
a processor core including; a first logic to determine a set of weights for use in a convolutional neural network (CNN) calculation; a second logic to scale up the weights using a scale value; and a calculation circuit including; a third logic to receive the scale value, the set of weights, and a set of input values, each input value and associated weight of a same fixed size; a fourth logic to determine results from CNN calculations based upon the set of weights applied to the set of input values; a fifth logic to scale down the results using the scale value; a sixth logic to truncate the scaled down results to the fixed size; and a seventh logic to communicatively couple the truncated results to an output for a layer of the CNN. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
a processor core including; a first logic to determine a set of weights for use in a convolutional neural network (CNN) calculation; a second logic to scale up the weights using a scale value; and a calculation circuit including; a third logic to receive the scale value, the set of weights, and a set of input values, each input value and associated weight of a same fixed size; a fourth logic to determine results from CNN calculations based upon the set of weights applied to the set of input values; a fifth logic to scale down the results using the scale value; a sixth logic to truncate the scaled down results to the fixed size; and a seventh logic to communicatively couple the truncated results to an output for a layer of the CNN. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for security, comprising:
-
determining a set of weights for use in a convolutional neural network (CNN) calculation; scaling up the weights using a scale value and routing the weights to a calculation circuit; receiving the scale value, the set of weights, and a set of input values at the calculation circuit, each input value and associated weight of a same fixed size; determining results from CNN calculations based upon the set of weights applied to the set of input values; scaling down the results using the scale value; truncating the scaled down results to the fixed size; and communicatively coupling the truncated results to an output for a layer of the CNN. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification