CPC G06N 3/063 (2013.01) [G06F 7/483 (2013.01); G06F 7/5443 (2013.01); G06F 17/153 (2013.01); G06F 17/16 (2013.01); G06N 3/04 (2013.01); G06N 3/06 (2013.01); G06N 3/08 (2013.01); H01L 25/065 (2013.01); G06F 2207/4824 (2013.01)] | 20 Claims |
1. A method for performing a neural network computation using an integrated circuit chip apparatus, wherein the method comprises:
receiving an operation instruction;
parsing the operation instruction to obtain input data and weight data for a first computation;
determining a first complexity of the first computation according to the input data, the weight data, and characteristics of the first computation, wherein the first complexity is a computation complexity of the first computation;
determining a first data type in which the first computation is to be performed, wherein the first data type is selected between a floating point data type and a fixed point data type, based on a comparison of the first complexity with a preset threshold; and
performing the first computation on the input data and the weight data in the first data type.
|