US 12,073,215 B2
Computing device with a conversion unit to convert data values between various sizes of fixed-point and floating-point data
Yao Zhang, Shanghai (CN); and Bingrui Wang, Shanghai (CN)
Assigned to SHANGHAI CAMBRICON INFORMATION TECHNOLOGY CO., LTD, Shanghai (CN)
Filed by SHANGHAI CAMBRICON INFORMATION TECHNOLOGY CO., LTD, Shanghai (CN)
Filed on Dec. 16, 2019, as Appl. No. 16/714,946.
Application 16/714,946 is a continuation of application No. 16/614,215, granted, now 11,609,760, previously published as PCT/CN2018/103850, filed on Sep. 3, 2018.
Prior Publication US 2020/0159532 A1, May 21, 2020
Int. Cl. G06F 9/30 (2018.01); G06F 7/491 (2006.01); G06F 9/38 (2018.01); G06F 12/0871 (2016.01); G06F 13/28 (2006.01); G06F 16/901 (2019.01); G06N 3/02 (2006.01); G06N 3/08 (2023.01); G06N 20/00 (2019.01); H03M 7/24 (2006.01); G06F 17/16 (2006.01); G06N 3/063 (2023.01)
CPC G06F 9/30025 (2013.01) [G06F 7/491 (2013.01); G06F 9/3001 (2013.01); G06F 9/30014 (2013.01); G06F 9/30036 (2013.01); G06F 9/30181 (2013.01); G06F 9/3838 (2013.01); G06F 12/0871 (2013.01); G06F 13/28 (2013.01); G06F 16/9027 (2019.01); G06N 3/02 (2013.01); G06N 3/08 (2013.01); G06N 20/00 (2019.01); H03M 7/24 (2013.01); G06F 9/30101 (2013.01); G06F 9/3873 (2013.01); G06F 9/3877 (2013.01); G06F 17/16 (2013.01); G06N 3/063 (2013.01)] 23 Claims
OG exemplary drawing
 
1. A computation device, comprising:
a storage unit,
a controller unit, and
a conversion unit; wherein:
the controller unit is configured to:
obtain one or more operation instructions, wherein each of the operation instructions is a fixed-point format operation instruction, each fixed-point format operation instruction comprises an opcode and an opcode field, and the opcode field of each fixed-point format operation instruction comprises a first address of first input data, a first address of output data, and a decimal point position;
parse each fixed-point format operation instruction to obtain the first address of the first input data, the first address of the output data, and the decimal point position, and obtain the first input data from the storage unit according to the first address of the first input data;
transmit the first input data and the decimal point position to the conversion unit;
wherein the conversion unit is configured to convert the first input data into a second input data based on the decimal point position and transmit the second input data to the operation unit; and
transmit the opcode and the second input data to the operation unit;
wherein the first input data includes at least two different types of data used in an artificial neural network operation and the decimal point position includes a decimal point position of each type in the at least two different types of data.