Quantification method, device, electronic equipment and storage medium for feature map data
A quantization method and data storage format technology, applied in the field of devices, quantification methods of feature map data, electronic equipment and storage media, can solve the problems of reduced transmission efficiency and affecting the overall processing performance of computing hardware platforms, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a schematic flowchart of the method for quantifying feature map data provided in Embodiment 1 of the present invention. The method can be executed by a quantization device or electronic device for feature map data, and the device or electronic device can be implemented by software and / or hardware. This device or electronic equipment can be integrated in any intelligent equipment with network communication function. Such as figure 1 As shown, the quantification method of feature map data may include the following steps:
[0050] S101. Acquire the original feature map data of each 8-bit integer fixed-point Int8 in at least one input line corresponding to the current cycle in the DDR according to the predetermined data storage format of the DDR, and convert the original feature map data of each Int8 into a corresponding The corresponding input feature map data.
[0051] In a specific embodiment of the present invention, the electronic device can obtain th...
Embodiment 2
[0062] figure 2 It is a schematic flowchart of the method for quantifying feature map data provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the quantification method of feature map data may include the following steps:
[0063] S201. Acquire the original feature map data of each Int8 in at least one input row corresponding to the current cycle in the DDR according to the predetermined data storage format of the DDR, and convert the original feature map data of each Int8 into a corresponding input feature map. data.
[0064] In a specific embodiment of the present invention, the electronic device can obtain the original feature map data of each Int8 in at least one input row corresponding to the current cycle in the DDR according to the predetermined DDR data storage format, and store the original feature map data of each Int8 The graph data is transformed into its corresponding input feature map data. Specifically, if the input feature map da...
Embodiment 3
[0080] Figure 5 It is a schematic diagram of the first structure of the quantization device for feature map data provided by Embodiment 3 of the present invention. Such as Figure 5 As shown, the device for quantifying feature map data according to the embodiment of the present invention may include: an acquisition module 501, a processing module 502, a determination module 503, and a conversion module 504; wherein,
[0081] The acquisition module 501 is configured to acquire the original feature map data of each 8-bit integer fixed-point Int8 in at least one input row corresponding to the current period in the DDR according to a predetermined data storage format of the DDR, and convert each Int8 The original feature map data of is converted to the corresponding input feature map data;
[0082] The processing module 502 is configured to process each input feature map data through the current operation unit of the convolutional neural network, obtain each output feature map ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


