Processing device

By designing an arithmetic processing device in a convolutional neural network, the resource sharing of convolution processing and fully connected processing is realized, and DRAM transmission is optimized, which solves the problems of resource waste and low transmission efficiency in the existing technology, and improves the processing efficiency. and data transmission efficiency.

CN112005251BActive Publication Date: 2024-09-06OLYMPUS CORPORATION(JP)
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN201980027100.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-05-11
Filing Date
2019-05-09
Publication Date
2024-09-06
Estimated Expiration
2039-05-09

AI Technical Summary

Technical Problem

In the existing technology, in convolutional neural networks, it is difficult to share circuits between convolution processing and fully connected processing, resulting in resource waste and low DRAM transmission efficiency. Especially when processing high-dimensional data strings, there are problems with data format and storage efficiency.

Method used

An arithmetic processing device is designed that performs convolution processing and full connection processing in exactly the same circuit, and performs efficient data and coefficient management through the data storage management unit and coefficient storage management unit to achieve filtering processing and cumulative addition. processing, nonlinear operation and pooling processing, supporting N parallel input and M parallel output. The controller controls the entire processing process to ensure DRAM transmission efficiency.

Benefits of technology

It realizes resource sharing between convolution processing and fully connected processing, improves processing efficiency, and significantly improves data transmission efficiency by optimizing DRAM access, adapting to direct connection processing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112005251B_ABST
    Figure CN112005251B_ABST
Patent Text Reader

Abstract

The operation unit of the operation processing device includes: a filter processing unit, which has a multiplier and a first adder, and performs the filtering process; a second adder, which performs the cumulative addition process of accumulating and adding all the results of the filtering process executed in N parallel ways; a non-linear transformation unit, which performs the non-linear operation process on the results of the cumulative addition process; a pooling processing unit, which performs the pooling process on the results of the non-linear operation process; and an operation control unit, which controls the filtering processing unit, the second adder, the non-linear transformation unit and the pooling processing unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a processing device, and more particularly, to a circuit structure of a processing device that uses a convolutional neural network to perform deep learning.

[0002] This application claims the priority based on international application PCT / JP2018 / 018306 for which it applied on May 11, 2018, and cites all the contents described in the application. Background Art

[0003] Conventionally, there are computing devices that perform computing using a neural network in which a plurality of processing layers are hierarchically connected. In particular, deep learning using a convolutional neural network (CNN) has been widely used in computing devices that perform image recognition.

[0004] Fig.33 This is a diagram showing the processing flow of deep learning using CNN. In image recognition based on deep learning using CNN, the input image data (pixel data) is processed in multiple processing layers of CNN in sequence to obtain the final calculation result data of the object contained in the image. Image recognition based on deep learning using CNN can achieve a high recognition rate.

[0005] Specifically, first, a combination of convolution processing (convolution processing) and reduction processing (pooling processing) is performed on the image data multiple times (in multiple processing layers) (one processing layer), in which a certain area is extracted and multiplied by multiple filters with different coefficients to generate a feature map (FeatureMap, FM), and in the reduction processing (pooling processing), a part of the area is extracted from the feature map. These processes are the processing of the convolution layer (convolution layer).

[0006] The convolution process progresses, and when the FM is reduced to a certain extent, the image data is reread as a one-dimensional data string. Full connection (FullConnect) processing is performed multiple times (in multiple processing layers), in which each data of the one-dimensional data string is multiplied by a different coefficient and accumulated. These processes are the processing of the full connection layer (FullConnect layer).

[0007] Then, after the full connection processing, the probability of detecting the object included in the image (the probability of subject detection) is output as the final calculation result, that is, the subject estimation result. Fig.33In the example, as the final calculation result data, the probability of detecting a dog is 0.01 (1%), the probability of detecting a cat is 0.04 (4%), the probability of detecting a boat is 0.94 (94%), and the probability of detecting a bird is 0.02 (2%).

[0008] Thus, the processing layers of CNN are roughly classified into the Convolution layer (convolution layer) that performs convolution processing including convolution operation processing, nonlinear processing, reduction processing (pooling processing), etc., and the FullConnect layer (full connection layer) that performs full connection processing of multiplying all inputs (pixel data) by coefficients and accumulating and adding them. However, there are also convolutional neural networks without full connection layers.

[0009] Fig.34 : This is a diagram showing the flow of convolution processing. First, extract one pixel of the input image data, perform filtering processing with different coefficients, and accumulate and add them, thereby generating data corresponding to one pixel. This processing is performed on all pixels of the image data to generate data corresponding to all pixels. Next, the generated data is subjected to nonlinear transformation and reduction processing (pooling processing) to generate an output feature map (oFM).

[0010] Then, the output feature map (oFM) is further subjected to filtering with different coefficients as the input feature map (iFM), and the above-mentioned convolution process is repeated. In this way, the output feature map (oFM) is obtained by performing the convolution process multiple times.

[0011] Fig.35 This is a diagram showing the process of full connection processing. The same number of coefficients are prepared for multiple input data and multiplied, and the multiplied data are accumulated and added. After nonlinear operation, one output data can be generated. By changing the coefficients and repeating this process multiple times, multiple output data can be generated.

[0012] In the processing of image recognition based on deep learning using CNN, it is difficult to optimize the processing unit or memory because the data unit processed in each processing layer of CNN is different. Therefore, image recognition based on deep learning using CNN is generally implemented by software processing using a high-performance PC (hardware) or GPU (Graphics Processing Unit), or configurable devices (circuits) such as FPGA (Field Programmable Gate Array).

[0013] Patent document 1 and patent document 2 disclose the following structure: by configuring product sum operation groups in a two-dimensional array to achieve high speed, a convolution operation processing unit for performing convolution processing is formed, and by also using (sharing) the convolution operation processing unit in the fully connected processing, the circuit used for the fully connected processing is reduced.

[0014] Patent document 3 discloses an image memory control device that can efficiently perform image rotation processing, etc., by suppressing the increase of internal memory for both color image data with a large number of components and monochrome image data with a small number of components, when using an image memory capable of burst transmission. Specifically, five input buffers of 8 rows each are formed for each of the five components of CMYKA, and image data of each component corresponding to the same area is read out from the input buffer in blocks of 8×8 pixels. Then, these blocks are stored in consecutive column addresses within the same row address by burst transmission.

[0015] Prior art literature

[0016] Patent Literature

[0017] Patent Document 1: Japanese Patent Application Publication No. 2016-99707

[0018] Patent Document 2: Japanese Patent Application Publication No. 2017-27314

[0019] Patent Document 3: Japanese Patent Application Publication No. 2012-146032 Summary of the invention

[0020] Problems to be solved by the invention

[0021] In Patent Documents 1 and 2, under the premise that the processing contents of convolution processing (filter operation processing) and full connection processing (matrix operation processing) are different, a part of the circuit is controlled to be switched (convolution operation processing unit), so that a part of the circuit is shared between the convolution processing and the full connection processing. That is, by controlling the switching of a part of the circuit, the operation process is changed to realize the convolution processing and the full connection processing. However, only a part of the circuit is shared between the convolution processing and the full connection processing.

[0022] Therefore, the filter kernel size in the convolution operation is fixed in the circuit. In Patent Document 1, the operation is performed at high speed by multiple parallel operations composed of a systolic array, but the filter size is determined by the size of the systolic array. The same is true for Patent Document 2. In addition, in Patent Document 1, when performing full connection processing, when a feature quantity map with a fractional value relative to the filter kernel size is used, invalid pixel processing must be performed.

[0023] In addition, CNN is a process that uses the same coordinate (nearby) data of all iFM as input to calculate one pixel of oFM. Since a large amount of data and coefficients are input and output, the design must fully consider the configuration on DRAM or the transmission efficiency. As a similar process, there are processes such as noise reduction or image data compression that input multiple frames to obtain one output frame (processing that utilizes the correlation between frames). However, they input a few to dozens of frames at most. On the other hand, if FM is considered as a frame (although it also depends on the size of the network), CNN sometimes inputs hundreds to thousands of frames. Therefore, it is not possible to simply access DRAM in the same data format as these similar processes.

[0024] In CNN, expanding the network is synonymous with increasing the number of FMs. Since FM is a data string with two-dimensional position information, iFM can be considered as "a data string with independent elements corresponding to the number of iFMs at coordinates (X, Y)". When it is understood that "independent elements" = "dimensions", iFM can be said to be a high-dimensional data string. For example, an RGB image is a three-dimensional data string.

[0025] In Patent Document 3, an efficient data set is formed as burst transmission by dividing the data string of each element dimension (CMYKA) into 8×8 size blocks as the basic unit of processing. In addition, by using the block as the processing unit and changing the data format in the processing unit, it is possible to respond to image rotation at a high speed.

[0026] In contrast, since the data to be processed in CNN is a high-dimensional data string with a dimension (=FM number) of several hundred to several thousand as above, the basic unit of processing or one element itself can be the size of a burst transmission unit (or above). In addition, the size or dimension of the frame changes according to each layer. In addition, in CNN, there is sometimes a process called Shortcut (direct connection), which must be in a format that can correspond to it.

[0027] In view of the above, the object of the present invention is to provide an operation processing device that can share the entire circuit in convolution processing and full connection processing in image recognition based on deep learning using CNN. In addition, the object of the present invention is to provide an operation processing device that can also cope with direct connection processing and can maintain high DRAM transmission efficiency.

[0028] Means for solving problems

[0029] The first mode of the present invention is an operation processing device, which is used for deep learning of convolution processing and full connection processing, wherein the operation processing device has: a data storage memory management unit, which has a data storage memory for storing input feature map data, and a data storage memory control circuit for controlling the data storage memory; a coefficient storage memory management unit, which has a coefficient storage memory for storing coefficients, and a coefficient storage memory control circuit for controlling the coefficient storage memory; a data input unit, which obtains the input feature map data from an external memory for storage; a coefficient input unit, which obtains the coefficients from an external memory for storage; a data output unit, which writes output feature map data to the external memory for storage; an operation unit, which obtains the input feature map data from the data storage memory and the coefficients from the coefficient storage memory in a structure with N parallel inputs and M parallel outputs, and performs filtering processing, cumulative addition processing, nonlinear operation processing and pooling processing, wherein N, M ≥ 1; and a controller, which controls the data storage memory management unit , the coefficient storage memory management unit, the data input unit, the data output unit and the operation unit, the data storage memory management unit takes out the input feature map data from the data storage memory, the coefficient storage memory management unit refers to the state of the data storage memory management unit, and takes out the coefficients corresponding to the data taken out from the data storage memory management unit from the coefficient storage memory, the data output unit connects the M parallel data output from the operation unit and outputs them to the storage external memory, the operation unit has: a filtering processing unit, which has a multiplier and a first adder, and performs the filtering processing; a second adder, which performs the cumulative addition processing of accumulating and adding all the results of the filtering processing executed in N parallel ways; a non-linear transformation unit, which performs the non-linear operation processing on the result of the cumulative addition processing; a pooling processing unit, which performs the pooling processing on the result of the non-linear operation processing; and an operation control unit, which controls the filtering processing unit, the second adder, the non-linear transformation unit and the pooling processing unit.

[0030] Alternatively, the data storage memory includes a buffer that stores a data set required for calculating one data after the pooling process, and the buffer stores data read from the data storage memory.

[0031] It is also possible to further include an operation control unit, which controls the processing of the operation unit. When the operation control unit is performing full connection processing, it controls the operation unit so that it converts the input one-dimensional data string into a data string of a specified size of N sides, wherein the number of elements of the one-dimensional data string is n, and the specified size is Fx×Fy, n≤Fx×Fy×N, and at least one of Fx and Fy is greater than 2, and the filter size is set to the specified size Fx×Fy, and the operation unit is controlled so that the output is a one-dimensional data string with m elements, and the size of the output feature map data is 1×1 and the number of elements is m.

[0032] During convolution processing, the FM size and the filter size can be different, and the relationship between the sizes is determined by the network to be used (of course, it can be changed). The above refers to the specific setting method for fully connected processing. In the case of full connection, iFM size = filter size and oFM is required to be 1×1. Of course, iFM size = filter size = 1×1 can also be, but as long as the equal sign is established, it can also be P×Q (P≥2 or Q≥2).

[0033] Alternatively, when at least one of the input feature map data and the coefficient is zero, the operation execution determination unit notifies the filter processing unit of operation neglect, and when the operation neglect is notified by the operation execution determination unit, the filter processing unit stops the operation processing.

[0034] Alternatively, the coefficient storage memory management unit has a data zero detection unit, which detects whether the input feature quantity map data read from the data storage memory is zero, and only accesses the coefficient storage memory in which the input feature quantity map data read from the corresponding data storage memory is not zero, and takes out the coefficient. The operation execution determination unit detects the part of the coefficient that is zero, and when the logical sum of the result of the detection and the result of the data zero detection unit is zero, the filtering processing unit is notified that the operation is ignored.

[0035] Alternatively, the N-parallel data storage memory management unit comprises: a coefficient zero detection unit, which detects whether all the N-parallel coefficients among the N×M coefficients stored in the coefficient storage memory are zero, thereby outputting a coefficient zero detection signal; and an SRAM read control unit, which only takes out the input feature quantity map data from the data storage memory corresponding to the coefficients in the data storage memory whose coefficient zero detection signal is not zero, and the operation execution determination unit detects the part of the input feature quantity map data that is zero, and when the logical sum of the result of the detection and the result of the coefficient zero detection unit is zero, notifies the filtering processing unit that the operation is ignored.

[0036] When the circuit structure of the operation unit is assumed to be N parallel inputs and M parallel outputs, the data storage memory management unit becomes N parallel.

[0037] Alternatively, a high-dimensional data string is stored in the external memory for storage, and the high-dimensional data string is a data string having position information of one dimension or more and high-order elements at the position, the data input unit obtains the high-dimensional data string from the external memory for storage by burst transmission, and transmits the obtained high-dimensional data string to the data storage memory management unit, the data output unit collectively outputs the data of the same coordinate output from the operation unit as a high-dimensional data string in units of burst transmission, and the data storage memory management unit comprises: an internal coordinate transformation unit, which transforms the high-dimensional data string obtained by the data input unit from the external memory for storage into coordinates processed in the operation unit; a data storage memory write control unit, which generates a write control signal for the data storage memory according to the coordinates; the data storage memory; and a data storage memory read control unit, which receives a request from the operation unit and accesses required data from the data storage memory in a specified order.

[0038] Alternatively, a high-dimensional data string is stored in the external memory for storage, and the high-dimensional data string is a data string having position information of more than one dimension and high-order elements at the position. The high-dimensional data string stored in the external memory for storage is a feature quantity map having coordinate information of a dimension and a high-order feature quantity for each coordinate. The amount of data corresponding to one coordinate becomes more than one unit of the burst transmission amount. The data input unit calculates a read address for accessing the external memory for storage according to the number of faces and coordinates of the feature quantity map to be input, obtains the high-dimensional data string from the external memory for storage through burst transmission, and transmits the obtained high-dimensional data string to the data storage memory management unit. The data output unit calculates a read address for accessing the external memory for storage according to the number of faces and coordinates of the feature quantity map to be input. The write address for accessing the external memory for storage is calculated, and data is output to the external memory for storage through burst transmission. The data storage memory management unit has: an internal coordinate transformation unit, which generates coordinates and supplementary information; and a data storage memory write control unit, which generates a write control signal for the data storage memory based on the supplementary information. The internal coordinate transformation unit generates the supplementary information and the coordinates of the feature quantity map by counting the high-dimensional data string obtained by the data input unit from the external memory for storage according to a prescribed method. The data storage memory write control unit generates a write control signal and a write address for the data storage memory that is the writing object based on the supplementary information and the coordinates of the feature quantity map.

[0039] Effects of the Invention

[0040] According to the operation processing device of each mode of the present invention, in image recognition based on deep learning using CNN, it is possible to share the entire circuit in convolution processing and full connection processing instead of just sharing a part of the circuit. In addition, it is also possible to cope with direct connection processing and maintain high DRAM transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a diagram for illustrating the interpretation of data in a fully connected layer in the arithmetic processing device according to the embodiment of the present invention.

[0042] Figure 2 This is a block diagram showing the structure of an operation processing device that performs deep learning using CNN in the operation processing device according to an embodiment of the present invention.

[0043] Figure 3 This is a diagram showing the configuration of a calculation unit in the calculation processing device according to the embodiment of the present invention.

[0044] Figure 4 This is a diagram showing the data arrangement of the iFM (input feature amount map) and coefficients corresponding to the data arrangement in the arithmetic processing device according to the embodiment of the present invention.

[0045] Figure 5 This is a diagram showing a timing chart of convolution processing in the arithmetic processing device according to the embodiment of the present invention.

[0046] Figure 6 This is a diagram showing the data arrangement of the iFM (input feature quantity map) in each group in the arithmetic processing device according to the embodiment of the present invention and the coefficients corresponding to the data arrangement.

[0047] Figure 7 This is a diagram showing a timing chart of a full connection process in the arithmetic processing device according to the embodiment of the present invention.

[0048] Figure 8 This is a diagram showing an example of a code for IBUF control during convolution when an FF array is installed in the arithmetic processing device according to the embodiment of the present invention.

[0049] Fig. 9 This is a diagram showing the connection between an IBUF management unit, a WBUF management unit, and a calculation unit in a calculation processing device according to a first modified example of the embodiment of the present invention.

[0050] Fig.10 It is a diagram showing the internal structure of the calculation unit in the calculation processing device according to the first modified example of the embodiment of the present invention.

[0051] Fig.11 This is a diagram showing an example of calculation skipping based on clock gating in the calculation processing device according to the first modified example of the embodiment of the present invention.

[0052] Fig.12 It is a diagram showing a timing chart of calculations in the calculation processing device according to the first modified example of the embodiment of the present invention.

[0053] Fig.13 This is a diagram showing the connection between the IBUF management unit, the WBUF management unit, and the calculation unit in the calculation processing device according to the second modified example of the embodiment of the present invention.

[0054] Fig.14 It is a diagram showing the internal structure of the calculation unit in the calculation processing device according to the second modified example of the embodiment of the present invention.

[0055] Fig.15 It is a diagram showing a timing chart of calculations in the calculation processing device according to the second modified example of the embodiment of the present invention.

[0056] Fig.16 This is a diagram showing the connection between the IBUF management unit, the WBUF management unit, and the calculation unit in the calculation processing device according to the third modified example of the embodiment of the present invention.

[0057] Fig.17 It is a diagram showing the internal structure of the calculation unit in the calculation processing device according to the third modified example of the embodiment of the present invention.

[0058] Fig.18 It is a diagram showing a timing chart of calculations in the calculation processing device according to the third modified example of the embodiment of the present invention.

[0059] Fig.19 This is a schematic diagram of configuring FM data processed by CNN in DRAM space.

[0060] Fig. 20 It is a schematic diagram showing the relationship between the input data string and the output data string in CNN processing.

[0061] Fig.21 is a schematic diagram showing a general CNN process.

[0062] Fig. 22 This is a schematic diagram showing an example of Relocate processing which is a type of direct connection processing.

[0063] Fig.23 It is shown Fig. 22 A schematic diagram of an example of processing of the iFM at the direct connection destination in the relocation process.

[0064] Fig.24 This is a schematic diagram showing an example of Combine processing which is a type of direct connection processing.

[0065] Fig.25 This is a schematic diagram showing an example of processing of the iFM at the direct connection destination in the merge processing.

[0066] Fig.26 It is a schematic diagram of a high-dimensional data string configured on DRAM.

[0067] Fig. 27 This is a schematic diagram of a high-dimensional data string configured on a DRAM when the high-dimensional data string is segmented.

[0068] Fig.28A This is a schematic diagram of a high-dimensional data string configured on a DRAM when data of the same coordinate is transmitted across multiple bursts.

[0069] Fig.28B This is a schematic diagram of a high-dimensional data string configured on a DRAM when data of the same coordinate is transmitted across multiple bursts.

[0070] Fig.29 It is a block diagram showing the structure of the IBUF management unit.

[0071] Fig.30 This is a schematic diagram of the IBUF.

[0072] Fig.31 It is a diagram showing the processing of the internal coordinate conversion unit in normal processing.

[0073] Fig.32 It is a diagram showing the processing of the internal coordinate conversion unit in the direct connection processing.

[0074] Fig.33 This is a diagram showing the process flow of deep learning using CNN.

[0075] Fig.34 It is a diagram showing the flow of convolution processing in the related art.

[0076] Fig.35 1 is a diagram showing the flow of full connection processing in the related art. DETAILED DESCRIPTION

[0077] First, the idea that forms the basis of the present invention is explained. In the present invention, the processing of the fully connected layer is considered to be a special convolution process in which the size of the input feature map (iFM) is equal to the filter size, the size of the output feature map (oFM) is 1×1, and no pooling is performed. Based on this idea, convolution processing and fully connected processing are performed in exactly the same circuit. That is, instead of sharing only part of the circuit in convolution processing and fully connected processing as in the prior art, the entire circuit is shared.

[0078] When the input of the fully connected layer (the data string of the input feature map) is iFM[j] (number of elements n, 0 ≤ j < n), the output (the data string of the output feature map) is oFM[i] (number of elements m, 0 ≤ i < m), and the coefficient group for calculating oFM[i] is k[i][j], the following equation is satisfied.

[0079] [Equation 1]

[0080]

[0081] Among them, a process of re-converting the input one-dimensional data string (number of elements n) into a data string of a specified size (Fx × Fy) with N faces is performed (n ≤ Fx × Fy × N). Fx is the size in the x direction (horizontal) of the data string, Fy is the size in the y direction (vertical) of the data string, and at least one of Fx and Fy is 2 or more.

[0082] Thus, the one-dimensional data string in the fully connected layer can be considered as a data string of one dimension or more. For example, the input iFM[j] of the fully connected layer is interpreted as a three-dimensional data string such as iFM[z][x][y] (0 ≤ x < Fx, 0 ≤ y < Fy, 0 ≤ j < n, j = Fy × (z × Fx + x) + y). In addition, the coefficient group k[i][j] is interpreted as a four-dimensional data string such as k[i][z][x][y] (0 ≤ i < m, 0 ≤ x < Fx, 0 ≤ y < Fy, 0 ≤ j < n, j = Fy × (z × Fx + x) + y).

[0083] Figure 1 is a diagram for showing the interpretation of data in the fully connected layer of the embodiment of the present invention. When compared with the Fig.34 processing in the convolutional layer shown, it is different in that the size of the input feature map (iFM) is equal to the filter size, and in that no pooling process is performed because the size of the output feature map (oFM) data is 1 × 1. In order to realize such an interpretation of data in the fully connected layer, it is necessary to be able to change the filter size during convolutional processing and fully connected processing, that is, the filter size is variable.

[0084] Figure 2 is a block diagram showing the structure of an arithmetic processing device for performing deep learning using CNN for realizing the interpretation of data in the above-mentioned fully connected layer according to an embodiment of the present invention.

[0085] The arithmetic processing device 1 has a controller 2, a data input unit 3, a coefficient input unit 4, an IBUF (data storage memory) management unit 5, a WBUF (coefficient storage memory) management unit 6, an arithmetic unit 7, and a data output unit 8. The data input unit 3, the coefficient input unit 4, and the data output unit 8 are connected to a DRAM (storage external memory) 9 via a bus 10.

[0086] The IBUF management unit 5 has a memory (data storage memory, IBUF) for input feature map (iFM) data storage and a management / control circuit (data storage memory control circuit) for the data storage memory. The IBUF management unit 5 counts the number of valid data in the input data and converts it into coordinates, and then stores the data (iFM data) after the coordinates are converted into IBUF addresses in the data storage memory, and fetches the iFM data from the data storage memory according to a prescribed method.

[0087] The WBUF management unit 6 has a coefficient storage memory (coefficient storage memory, WBUF) and a coefficient storage memory management / control circuit (coefficient storage memory control circuit). The WBUF management unit 6 refers to the state of the IBUF management unit 5 and fetches coefficients corresponding to the data fetched from the IBUF management unit 5 from the coefficient storage memory.

[0088] DRAM (storage external memory) 9 stores iFM data, oFM data and coefficients. Data input unit 3 obtains input feature map (iFM) from DRAM 9 according to a prescribed method and delivers it to IBUF (data storage memory) management unit 5. Data output unit 8 writes output feature map (oFM) data to DRAM 9 according to a prescribed method. Specifically, data output unit 8 connects M parallel data output from operation unit 7 and outputs them to DRAM 9. Coefficient input unit 4 obtains coefficients from DRAM 9 according to a prescribed method and delivers them to WBUF (coefficient storage memory) management unit 6. In addition, storage external memory 9 is not limited to DRAM, and may be SSD or the like.

[0089] The operation unit 7 obtains data from the IBUF (data storage memory) management unit 5 and coefficients from the WBUF (coefficient storage memory) management unit 6, and performs data processing such as filtering, cumulative addition, nonlinear operation, and pooling. The controller 2 controls the entire circuit.

[0090] In CNN, Fig.33 As shown, several layers of similar processing are performed. When the operation processing device 1 according to the embodiment of the present invention is used, the operation unit 7 has only the data and coefficients required for processing of one layer and performs processing of one layer, and the data and coefficients are placed one by one in the DRAM 9. Then, the necessary number of layers of processing are repeatedly performed. The operation processing device 1 outputs the subject estimation result as the final output data, and the subject estimation result is obtained by processing the final output data using a processor (which may also be a circuit).

[0091] Figure 31 is a diagram showing the structure of the operation unit of the operation processing device according to an embodiment of the present invention. The number of input channels of the operation unit 7 is N (N ≥ 1), that is, the input data is N-dimensional, and the N-dimensional input data is processed in parallel (input N parallel). The number of output channels of the operation unit 7 is M (M ≥ 1), that is, the output data is M-dimensional, and the M-dimensional input data is output in parallel (output M parallel). Figure 3 As shown, in one layer, iFM data (d_0 to d_N-1) and coefficients (k_0 to k_N-1) are input according to each channel (ich_0 to ich_N-1), and one data is output. This process is performed in parallel in M ​​layers, and M data och_0 to och_M-1 are output.

[0092] When pooling is performed, only when data of the "filter size × 4" group is input, one data is output. When pooling is not performed, one data is output with data of the "filter size" group.

[0093] Thus, the computing unit 7 sets the number of input channels to N and the number of output channels to M, and obtains a parallelism of N × M. The number of input channels N and the number of output channels M can be set (changed) according to the size of the CNN, and therefore are appropriately set in consideration of processing performance or circuit scale.

[0094] The operation unit 7 has an operation control unit 71, which controls each component in the operation unit. In addition, the operation unit 7 has N filter processing units 72, second adders 75, nonlinear transformation units 76, and pooling processing units 77 for each layer. And, there are M such layers. That is, there are N×M filter processing units 72.

[0095] The operation control unit 71 inputs the specified data to the filter processing unit 72 by issuing a request to the preceding stage of the operation unit 7. The filter processing unit 72 is composed of a multiplier 73 and a first adder 74, and performs filter processing on the input data. The multiplier 73 performs multiplication operation on the FM data (feature quantity map data) d_0 to d_N-1 input from the outside and the coefficients k_0 to k_N-1 input in accordance with the FM data and the time. Then, the first adder 74 accumulates the result of the multiplication operation by the amount of the filter size, and the filter processing in the filter processing unit 72 is completed. That is, the filter size is changed according to the number of cumulative additions. N filter processing units 72 perform the above-mentioned processing on different FM data simultaneously (in parallel).

[0096] The second adder 75 accumulates and adds the results of the filtering processes in the N filtering processing units 72 executed in N parallel. The nonlinear transformation unit 76 performs nonlinear operation processing based on the Activate function or the like on the cumulative addition results in the second adder 75. The specific implementation is not particularly specified, but the nonlinear operation processing is performed by, for example, a broken line approximation.

[0097] The pooling processing unit 77 performs pooling processing such as selecting and outputting the maximum value (Max Pooling) and calculating the average value (Average Pooling) from a plurality of data input from the nonlinear transformation unit 76. In addition, the nonlinear transformation unit 76 and the pooling processing unit 77 may not work depending on the network, so they can be ignored by the operation control unit 71. In the case of full connection processing, the pooling processing is not performed, so the pooling processing unit 77 is ignored.

[0098] The operation control unit 71 controls the above-mentioned processing performed in each unit in the operation unit 7. According to such a structure, in the operation unit 7, the number of input channels N and the number of output channels M can be set (changed) according to the size of the CNN, and therefore, are appropriately set in consideration of processing performance or circuit scale.

[0099] (During convolution processing)

[0100] During convolution, the FM size and filter size can be different or can be changed. In addition, the output is two-dimensional data.

[0101] The operation of the convolution process in the calculation unit 7 will be described. Here, a case where the convolution process is performed focusing on one input channel will be considered. The case where the filter size is 3×3 will be described below.

[0102] Figure 4 (a) is a diagram showing the data configuration of iFM (input feature map), Figure 4 (b) is a graph showing coefficients corresponding to the data. Figure 4 a~p in (a) represent the values ​​of data (with Figure 3 corresponding to d_0~d_N-1). Figure 4 In (b), w1 to w9 represent the values ​​of coefficients (with Figure 3 That is, d* represents a data line, and k* represents a coefficient line.

[0103] Figure 5 FIG. 1 is a diagram showing a timing diagram of convolution processing. Assume that time flows from the left to the right in the diagram. First, Figure 4The data (a, b, c, e, f, g, i, j, k) of the filter size (9 of 3×3) in the iFM data shown in (a) are each multiplied by coefficients w1 to w9 in the multiplier 73. The first adder 74 accumulates and adds the multiplication results of the multiplier 73 by the filter size (9 of 3×3) ( Figure 5 The cumulative addition result (Σ) of the first adder 74 is the result of the filtering process in the filtering process unit 72.

[0104] The second adder 75 takes the sum of the results (Σ) of the first adders 74 arranged in N parallel manner ( Figure 5 A corresponds to one pixel of the output. In the second adder 75, the sum is taken at the time when the filtering result is output from the first adder 74. Then, the nonlinear transformation unit 76 performs a nonlinear transformation ( Figure 5 f(A)).

[0105] Through the above, the processing of the data of the filter size (9 of 3×3) of one filter is completed. Then, the processing of the data of the filter size (9 of 3×3) of the next filter is entered. Figure 5 As shown in the figure, the order of data input is "a, b, c, e, f, g, i, j, k" followed by "e, f, g, i, j, k, m, n, o", and then "b, c, d, f, g, h, j, k, l". In this way, the center of gravity of the filter is Figure 4 The data shown in (a) is moved in the order of "f→j→g→k". After the nonlinear transformation unit 76, the plurality of data are entered in the pooling processing unit 77 in this order and the pooling processing is performed on the plurality of data.

[0106] (When processing full connection)

[0107] During the fully connected processing, certain conditions are imposed on the size conditions of the FM size and the filter size during the convolution processing. During the fully connected processing, the operation unit 7 performs a process of reconverting the input one-dimensional data string (number of elements n) into a two-dimensional data string (N parallel) of N planes Fx×Fy (n≤Fx×Fy×N). That is, the operation unit 7 sets the filter size to a specified size (Fx×Fy), and sets the size of oFM to 1×n and the number of oFM to m as the output two-dimensional data string (number of elements i×j). It does not need to be the same as the filter size during the convolution processing. N is the input parallelism of the circuit, which is fixed by installation. Therefore, in order to handle a larger n, Fx and Fy are usually set as large as possible (within the corresponding range).

[0108] The operation of the fully connected process in the operation unit 7 will be described. Similar to the description of the convolutional process, the case where the filter size is 3×3 will be described. In this case, the number of input channels is N (N in parallel), so the input data string is 9N. The size of the iFM data is the same as the filter size, so it is 3×3. That is, the above Fx and Fy satisfy Fx = Fy = 3. Therefore, the input (the data string of the input feature map) iFM[j] (number of elements n, 0 ≤ j < n) of the fully connected layer is interpreted as a three-dimensional data string iFM[z][x][y] (0 ≤ x < 3, 0 ≤ y < 3, 0 ≤ j < n, j = 3×(z×3 + x) + y). In addition, the coefficient group k[i][j] for calculating the output (the data string of the output feature map) oFM[i] (number of elements m, 0 ≤ i < m) of the fully connected layer is interpreted as a four-dimensional data string k[i][z][x][y] (0 ≤ i < m, 0 ≤ x < 3, 0 ≤ y < 3, 0 ≤ j < n, j = 3×(z×3 + x) + y).

[0109] Figure 6 (a) of which is a diagram showing the data configuration of the iFM (input feature map) in the first group, Figure 6 (b) of which is a diagram showing the coefficients corresponding to this data. Figure 6 a1 to i1 in (a) of which represent the values of the data, Figure 6 w11 to w19 in (c) of which represent the values of the coefficients. Similarly, Figure 6 (c) of which is a diagram showing the data configuration of the iFM (input feature map) in the second group, Figure 6 (d) of which is a diagram showing the coefficients corresponding to this data. Figure 6 a2 to i2 in (b) of which represent the values of the data, Figure 6 w21 to w29 in (d) of which represent the values of the coefficients. The same applies to the third group and later, and the number of groups can be increased as needed.

[0110] Figure 7 is a diagram showing the timing diagram during the fully connected process. If the different aspects of the input data in Figure 4 and Figure 6 are considered, then Figure 7 the timing diagram during the fully connected process shown becomes exactly the same process as the timing diagram during the convolutional process shown in Figure 5 . Therefore, the description of Figure 7 is omitted. However, in the process after this timing diagram, Figure 5 the non-linear transformation output during the convolutional process shown is only the data for 1 pixel forming the oFM (accurately speaking, the data before the pooling process for generating the data for 1 pixel forming the oFM), whereas Figure 7The nonlinear transformation output during the full connection processing shown is directly the oFM data of one surface.

[0111] Here, when the input data string is not exactly divisible by the filter size, by adding data with a value of zero so as to be exactly divisible by the filter size (equal to the filter size), calculation can be performed without causing an error in the cumulative addition result.

[0112] As described above, the present invention realizes the following structure: any filter size can be handled only by changing the setting parameters, high speed is achieved by parallelizing in an array in the direction of the filter type rather than in the direction of the filter size, and the filter size can be set (changed). As a result, both convolution processing and full connection processing can be handled in exactly the same circuit, without the need for dedicated control, and with a scale reduction (power reduction) effect. In addition, since the filter size is variable, it is highly convenient. In addition, since it is a setting that can fully utilize the circuit resources of the convolution processing in the full connection processing, the full connection processing can also be performed at high speed.

[0113] In the convolution process, Figure 5 As shown in the timing diagram of , the same data is read out from the data storage memory (IBUF) multiple times. Figure 4 In the data shown in (a), 9 data centered on "f" are read out to calculate 1 output data, 9 data centered on "j" are read out to calculate 1 output data, 9 data centered on "g" are read out to calculate 1 output data, and 9 data centered on "k" are read out to calculate 1 output data. Then, based on the 4 (2×2) data, 1 data is calculated by pooling. That is, when the filter size is 3×3 and the size of the implementation unit of the pooling process is 2×2, the types of data read from the data storage memory are 16, and the number of reads is 3×3×4=36.

[0114] Therefore, in order to reduce the power consumption of the data storage memory accessing the SRAM, the data storage memory may also have a Figure 4 The FF array (buffer) shown in (a) is a 4×4 unit that takes out data from the data storage memory and saves it. That is, the data storage memory has an FF array that can store a data set (4×4=16 data) required for calculating 1 data after pooling processing, and the FF array stores the data read from IBUF. According to such a structure, there is no need to read the same data from the SRAM multiple times, which can reduce memory access and reduce power consumption.

[0115] Figure 8 This is a diagram showing an example of a code for IBUF control during convolution when the FF array is mounted. In addition, an equivalent function can also be implemented in the circuit.

[0116] (Variation Example)

[0117] A modification of the above-mentioned embodiment will be described. Figure 3 As shown in FIG, the filtering operation is implemented by multiplying the data by the coefficient in units of pixels and accumulating and adding the multiplication results using an accumulative adder. At this time, if at least one of the coefficient and the data is zero, the multiplication result is zero, and the cumulative addition result is not updated, so the operation becomes useless. In particular, in deep learning, there is a situation where most of the coefficients are zero, and this problem is significant.

[0118] Therefore, in the first modification, when either the coefficient or the data is zero, power consumption is reduced by not executing multiplication and cumulative addition. Fig. 9 1 is a diagram showing the connection between the IBUF management unit 5 , the WBUF management unit 6 , and the calculation unit 7 of the calculation processing device according to the present modification.

[0119] When receiving the request (req) from the operation unit 7, the SRAM read control unit 51 of the IBUF (data storage memory) management unit 5 reads out N FM data from N IBUFs (0 to N-1) and sends them to the operation unit 7. In addition, at the same time, the WBUF read unit 61 of the WBUF (coefficient storage memory) management unit 6 reads out N×M coefficients from M WBUFs (0 to M-1) and sends them to the operation unit 7. In this modification, a status signal is sent from the SRAM read control unit 51 of the IBUF management unit 5 to the WBUF read unit 61 of the WBUF management unit 6. Here, the status signal is a signal that transmits the information of the FM data taken out by the IBUF management unit 5 to the WBUF management unit 6.

[0120] Fig.10 It is shown Fig. 9 FIG. 7 is a diagram of the internal structure of the operation unit 7 in FIG. In the present variation, an operation execution determination unit 78 is provided in the preceding stage of the filter processing unit 72 in the operation unit 7. The operation execution determination unit 78 notifies the filter processing unit 72 of an operation ignore signal (vz_0, vz_1, ...) indicating whether any one of the data (data_0, data_1, ...) input from the IBUF and the coefficient (coef_0, coef_1, ...) input from the WBUF is zero.

[0121] When any one of the data (data_0, data_1, ...) input from IBUF and the coefficient (coef_0, coef_1, ...) input from WBUF is zero, the value of the calculation ignore signal (vz_0, vz_1, ...) is 0. When both the data (data_0, data_1, ...) input from IBUF and the coefficient (coef_0, coef_1, ...) input from WBUF are not zero, the value of the calculation ignore signal (vz_0, vz_1, ...) is 1.

[0122] When the value of the operation ignore signal (vz_0, vz_1, ...) input from the operation execution determination unit 78 is zero, the filter processing unit 72 turns off the execution of the multiplication operation and the cumulative addition (operation ignore). "Operation ignore" means stopping the processing in the filter processing unit 72 or not performing the operation processing.

[0123] The calculation ignore signal (vz_0, vz_1, . . . ) may be an enable signal or a signal for gating (stopping) a clock input to the filter processing unit 72 . Fig.11 : This is a diagram showing an example of operation ignoring based on clock gating. "CG" in the figure represents a clock gating unit. When the zero detection unit of the operation execution determination unit 78 detects zero in the data (data) or the coefficient (coef), the value of the operation ignoring signal (vz_0, vz_1, ...) is set to zero and notified to the clock gating unit. When the value of the operation ignoring signal (vz_0, vz_1, ...) is zero, the clock gating unit sends a signal to stop the clock, and the operation in the filter processing unit 72 stops.

[0124] Fig.12 This is a diagram showing a timing diagram when the input parallelism is N = n + 1 = 2 and the output parallelism is M = m + 1 = 2. When the value (W) of the coefficient in WBUF (coefficient storage memory) or the value (D) of the data in IBUF (data storage memory) is zero, the value of the operation ignore signal (vz_0, vz_1, ...) is zero, the operation in the multiplier is ignored, and the operation of the first adder is ignored.

[0125] In this way, when at least one of the input feature quantity map data and the coefficient is zero, the operation execution determination unit 78 notifies the filter processing unit 72 of the operation omission. When the operation omission is notified from the operation execution determination unit 78, the filter processing unit 72 causes the operation to be ignored. According to such a configuration, in the first modification, when either the coefficient or the data is zero, power consumption can be reduced by not executing the multiplication operation and cumulative addition.

[0126] Next, a second variation of the embodiment of the present invention is described. In the second variation, when there are many zeros in the data, the data is read out first, and when the data is zero, the access to the coefficient storage memory (SRAM read access) itself is stopped. This further reduces power consumption.

[0127] Fig.13 1 is a diagram showing the connection between the IBUF management unit 5, the WBUF management unit 6 and the operation unit 7 of the operation processing device of this modification. When receiving a request (req) from the operation unit 7, the SRAM read control unit 51 of the IBUF (data storage memory) management unit 5 reads out N FM data from N IBUFs (0 to N-1), and sends it to the operation unit 7 via the delay circuit 52 and to the data zero detection unit 62 of the WBUF (coefficient storage memory) management unit 6.

[0128] The data zero detection unit 62 detects whether each of the N FM data sent from the IBUF management unit 5 is zero. If the data is zero, the detection signal iz* of the data is set to 0 (*=0 to N-1). For example, if the FM data read from IBUF0 is zero, iz0 is set to 0. Then, the data zero detection unit 62 sends the detection signal iz* to the WBUF reading unit 61 and the calculation unit 7 of the WBUF (coefficient storage memory) management unit 6.

[0129] The WBUF reading unit 61 of the WBUF (coefficient storage memory) management unit 6 accesses only the WBUFs whose corresponding data are not zero among the M WBUFs (0 to M-1) according to the detection signal iz*, reads out the coefficients, and sends them to the calculation unit 7. The coefficients in the WBUFs that are not accessed (not read from the WBUFs) are set to zero and sent to the calculation unit 7.

[0130] Fig.14 1 is a diagram showing the internal structure of the operation unit 7 in this variation. The operation execution determination unit 78 of the operation unit 7 detects the part where the coefficients (coef_0, coef_1, ...) sent from the WBUF reading unit 61 are zero, and sets the logical sum of the result and the detection signal (iz_0, iz_1, ...) sent from the data zero detection unit 62 as the operation ignore signal (vz0, vz1, ...).

[0131] Fig.151 is a diagram showing a timing diagram of the operation in the present modification. When the value (D) of the data in the IBUF (data storage memory) is zero, the value of the detection signal (iz_0, iz_1, ...) is zero, and the coefficients from the corresponding WBUF are not read ("←" in the figure). Then, when the operation ignore signal (vz0, vz1, ...) is zero based on the detection result of zero in the value (D) of the data in the IBUF (data storage memory) and the detection result of zero in the value (W) of the coefficient in the WBUF (coefficient storage memory), the operation in the multiplier 73 of the filter processing unit 72 is ignored ("←" in the figure). The final result obtained is the same as the final result of the first modification.

[0132] As described above, in this modification, the WBUF management unit 6 includes the data zero detection unit 62, which detects whether the FM data read from the IBUF (data storage memory) is zero. Then, the WBUF reading unit 61 of the WBUF (coefficient storage memory) management unit 6 accesses only the WBUF (coefficient storage memory) for which the FM data read from the corresponding IBUF (data storage memory) is not zero, and extracts the coefficient. In addition, the calculation execution determination unit 78 of the calculation unit 7 detects the part where the coefficient is zero, and outputs the logical sum of the result and the result of the data zero detection unit.

[0133] According to such a configuration, in the second modification, in addition to the first modification, when the data is zero, access to the coefficient storage memory itself can be stopped, thereby further reducing power consumption. The second modification is advantageous when there is a lot of zero data.

[0134] Next, the third variation of the embodiment of the present invention is described. In the third variation, when there are many zeros in the coefficients, the coefficients are read out first, and only the IBUF corresponding to the part where the coefficient value is not zero is accessed. That is, the data read access itself corresponding to the part where the coefficient value is zero is stopped.

[0135] Fig.16 1 is a diagram showing the connection between the IBUF management unit 5, the WBUF management unit 6, and the operation unit 7 of the operation processing device of this modification. When receiving a request (req) from the operation unit 7, the WBUF reading unit 61 of the WBUF (coefficient storage memory) management unit 6 accesses M WBUFs (0 to M-1) and reads out N×M coefficients, and sends them to the operation unit 7 through the delay circuit 63, and sends them to the coefficient zero detection unit 53 of the IBUF (data storage memory) management unit 5. In addition, the WBUF reading unit 61 sends a status signal to the SRAM read control unit 51 of the IBUF (data storage memory) management unit 5. Here, the status signal is a signal that transmits the information of the coefficients taken out by the WBUF management unit 6 to the IBUF management unit 5.

[0136] The coefficient zero detection unit 53 detects whether each of the N×M coefficients sent from the WBUF management unit 6 is zero, and when all the coefficients (M coefficients) in M ​​parallel are zero, the coefficient zero detection signal cz*=0 (*=0~N~1) is set. For example, when the coefficients read from all the WBUF0 in M ​​parallel are zero, cz0=0 is set. In this way, the IBUF management unit 5 shares the output of the IBUF in M ​​parallel mode, and therefore, it is necessary to detect whether all the coefficients (M coefficients) in M ​​parallel are zero.

[0137] Then, the coefficient zero detection unit 53 sends the coefficient zero detection signal cz* to the SRAM read control unit 51 and the calculation unit 7 of the IBUF management unit 5. The SRAM read control unit 51 reads N FM data from N IBUFs (0 to N-1) and sends them to the calculation unit 7.

[0138] Fig.17 : is a diagram showing the internal structure of the operation unit 7 in this modification. The operation execution determination unit 78 of the operation unit 7 detects the part of the FM data (data_0, data_1, ...) sent from the IBUF management unit 5 that is zero, and sets the logical sum of the result and the coefficient zero detection signal (cz_0, cz_1, ...) sent from the coefficient zero detection unit 53 as the operation ignore signal (vz0, vz1, ...). In the case of this modification, even if the coefficient is zero, FM data may be input, but it can be confirmed by the operation execution determination unit 78 that the coefficient zero detection signal (cz_0, cz_1, ...) is zero, so the filter processing unit 72 does not work in the end.

[0139] Fig.18 : This is a diagram showing a timing diagram of the operation in this variant. When the value (W) of all the coefficients in the M parallel in the WBUF (coefficient storage memory) is zero, the value of the coefficient zero detection signal (cz_0, cz_1, ...) becomes zero, and the FM data from the corresponding IBUF is not read ("←" in the figure). Then, when the operation ignore signal (vz0, vz1, ...) is zero based on the zero detection result of the value (D) of the data in the IBUF (data storage memory) and the zero detection result of the value (W) of the coefficient in the WBUF (coefficient storage memory), the operation in the multiplier 73 of the filter processing unit 72 is ignored ("←" in the figure). The final result obtained is the same as the final result of the first variant.

[0140] As described above, in this modification, the coefficient zero detection unit 53 of the M-parallel IBUF management unit 5 detects whether all the coefficients (M coefficients) in M ​​parallel among the N×M coefficients stored in the WBUF (coefficient storage memory) are zero, and outputs a coefficient zero detection signal (cz*). Then, the SRAM read control unit 51 of the IBUF management unit 5 takes out FM data only from the IBUF (data storage memory) corresponding to the coefficients for which the coefficient zero detection signal (cz*) is not zero. The operation execution determination unit 78 detects the zero part in the FM data, and outputs the logical sum of the result and the result of the coefficient zero detection unit 53.

[0141] According to such a configuration, in the third modification, in addition to the first modification, when all coefficients of M parallelism are zero, access to the SRAM itself is stopped. This can further reduce power consumption. The third modification is advantageous when there are many zeros in the coefficients.

[0142] (FM data configuration in DRAM)

[0143] Generally speaking, image data is expanded in a rectangular shape (or in a form based on the rectangle) on DRAM to facilitate association with the image. In image recognition based on deep learning using CNN, the FM to be processed also has two-dimensional position information, so it is easy to understand that the FM data is configured on DRAM in the same way as the image data.

[0144] Fig.19 This is a schematic diagram of configuring FM data processed by CNN on DRAM space. iFM_0 to iFM_(N-1) as iFM data are configured in a rectangular shape (horizontally arranged) on DRAM space with FM as the unit. The operation unit 7 reads the iFM data from DRAM, performs CNN processing such as convolution processing, addition processing, nonlinear processing, and pooling processing, and writes the obtained oFM data into DRAM. oFM_0 to oFM_(M-1) as oFM data are also configured in a rectangular shape (horizontally arranged) on DRAM space with FM as the unit.

[0145] The FMs to be processed in CNN are high-dimensional data strings of hundreds to thousands of images. When FMs are arranged in rectangular form in DRAM space in units of FM, such as Fig.19 As shown, the DRAM address will jump and the DRAM transfer efficiency will decrease.

[0146] Fig. 20It is a schematic diagram showing the relationship between the input data string and the output data string in CNN processing. The input data string (iFM data) is N-dimensional (0th to (N-1)th order), and the output data (oFM data) after CNN processing is M-dimensional (0th to (M-1)th order). In the input and output data processed by CNN, the input data required to calculate the M-dimensional information in the coordinates (x, y) of the output data is all N-dimensional information (with a certain extension) near the coordinates (x', y') of the input data. That is, using the Fig. 20 The data in the area surrounded by the circle centered at the coordinates (x', y') of the input data shown in the figure is processed by CNN to calculate the M-dimensional data at the coordinates (x, y) of the output data. In addition, in fact, CNN processing also requires coefficients, but they are omitted here for consideration.

[0147] Thus, using Fig. 20 The data of the same coordinates on the line of the arrow shown in the figure are calculated. Therefore, in CNN processing, it is expected that data can be expanded by accessing DRAM in units of coordinates. In addition, in CNN, there are sometimes special processes such as direct connection processing described below. In order to cope with such special processes, it is also important to be able to access DRAM in units of coordinates.

[0148] (Direct connection processing)

[0149] Here, the direct connection process is described. Fig.21 is a schematic diagram showing a typical CNN process, Fig. 22 is a schematic diagram showing an example of direct connection processing. In conventional CNN processing, CNN processing is performed between two layers, and there is a gap between the immediately preceding layer and the immediately succeeding layer, such as Fig.21 The straight line between the two layers shown in the figure represents the input-output relationship. The CNN process uses the output FM of the immediately preceding layer as input, and the result of the CNN process becomes the input FM of the immediately succeeding layer.

[0150] Sometimes, depending on the network to be adopted, there is a direct connection process in which there is an input-output relationship with the previous layer by skipping (skipping) one or more layers. Fig. 22 An example of relocation processing as a type of direct connection processing is shown, in which direct connection is performed by skipping the third layer and the fourth layer. That is, the output FM ( Fig. 22 A part or all of the input FM of the fifth layer is directly connected. However, part of the input of the fifth layer also includes FM (via the third and fourth layers) via the normal path (i.e., the third and fourth layers). Fig. 22 That is, the sum of the FM via the normal path and the FM via the direct path is input to the fifth layer.

[0151] In each layer of CNN, pooling is sometimes included as a reduction process. In this case, the size of data passing through the direct path and the size of data passing through the normal path are different. In addition, there are cases where pooling is not included depending on the layer. Fig. 22 In the example, the processing of the second layer, the processing of the fourth layer, and the processing of the fifth layer include pooling processing, and the size of FM is reduced. On the other hand, the processing of the third layer and the processing of the sixth layer do not include pooling processing, and the size of FM is not reduced.

[0152] Consider a case where the sizes of data via the direct path and data via the normal path are different. Fig.23 It is shown Fig. 22 Schematic diagram of an example of the processing of the iFM at the direct destination in the relocation process. Specifically, an example of the processing of the iFM in the 5th layer processing as the direct destination is shown when the size of the FM via the direct path is twice the size of the FM via the normal path in both vertical and horizontal directions.

[0153] like Fig.23 As shown, the FM via the direct path is divided into four parts along the top, bottom, left and right directions, and each of the divided FMs is regarded as an FM of one plane. Thus, the size of the FM formed by dividing the FM via the direct path is the same as the size of the FM via the normal path. Furthermore, the sum of the FM formed by dividing the FM via the direct path and the FM via the normal path (oFM of the fourth layer) becomes the iFM of the fifth layer. Here, if the two dimensions representing the position are excluded from the dimensionality of the FM, the following relationship is satisfied.

[0154] The dimension of the input to layer 5 = (the dimension of the output to the direct bus from layer 2) × 4 + (the dimension of the output of layer 4)

[0155] In this way, direct processing treats information with different coordinates at the input time as different dimensions of the same coordinates, which is a characteristic processing not available in other image processing. In addition, there are many processing methods for FM at the 5th layer via the direct path. Fig.23 Just an example.

[0156] In the above, the relocation process is described as a type of direct connection process. However, depending on the network, there is also a process in which a plurality of surfaces of a smaller FM are combined to process the smaller FM as a larger FM of one surface (hereinafter referred to as a merge process). Fig.24 FIG. 1 is a schematic diagram showing an example of a merge process which is a type of direct connection process. Fig. 22Similarly, the third and fourth layers are skipped and a direct connection is performed, but a plurality of faces of a smaller FM are combined to generate a larger FM with one face, which becomes the iFM of the fifth layer.

[0157] Fig.25 1 is a schematic diagram showing an example of processing of iFM at the direct connection destination in the merge process. Specifically, it shows the size of the FM via the direct connection path relative to Fig.24 The iFM size of the 5th layer is 1 / 2 in both vertical and horizontal directions. The FM size through the normal path is relative to Fig.24 If the iFM size of the 5th layer is 1 / 8 in both vertical and horizontal directions, the Fig.24 An example of iFM processing in the 5th layer of processing.

[0158] like Fig.25 As shown, a larger FM of one plane is generated by combining FMs via the direct bus in 2×2 planes. In addition, FMs (valid pixels) and invalid pixels via the normal bus are alternately arranged and combined in 8×8 planes, thereby generating a larger FM of one plane. As a result, the size of the FM via the direct bus is the same as the size of the FM via the normal bus. Then, the sum of the FM via the direct bus (larger FM) and the FM via the normal bus (larger FM generated from the FM via the normal bus and invalid pixels) becomes Fig.24 The 5th layer of iFM.

[0159] In the case of merging, data via a direct path can be handled simply by writing the data in an adjacent manner on the DRAM when the FM is output, so it can be implemented without a special circuit structure. Data via a normal path needs to be expanded, and there is a method of filling the above-mentioned invalid pixels with pixels of a fixed value called "padding data". In addition, there are methods of interpolating based on surrounding pixels, etc. When padding data is used, the padding data can be generated and output without performing SRAM access in the IBUF read control unit, so it can be implemented without a special circuit structure.

[0160] (Data configuration method on DRAM)

[0161] The method of efficiently configuring, transmitting, and processing data having the above-mentioned input-output relationship on DRAM is described. In addition, since this problem area is not limited to the processing of high-dimensional data strings of deep learning, the following description will be generalized as much as possible.

[0162] The corresponding relationship with the terminology of Deep Learning is as follows.

[0163] "Input data (string)" = "iFM (input feature map)"

[0164] "Output data (string)" = "oFM (output feature map)"

[0165] "Input Dimension" = "iFM Number"

[0166] "Output Dimension" = "oFM Number"

[0167] The data format is described below. To simplify the drawings and description, it is assumed that the input data is a 4-dimensional data string having 2-dimensional position information, and its size is 30×30 pixels. Furthermore, it is assumed that the number of dimensions that can be transmitted by one burst transmission for one pixel is 4.

[0168] Fig.26 This is a schematic diagram of a high-dimensional data string configured on a DRAM. The symbol "D_a_b[X][Y]" is defined as data formed by bit-connecting the data of dimensions a to b at the coordinate position (X, Y). That is, Fig.26 In the DRAM, data formed by bit-connecting 1-dimensional to 4-dimensional data at respective coordinate positions (0, 0) to (29, 29) are arranged in order from the upper left. Fig.26 data surrounded by 1 box in ).

[0169] The number of dimensions that can be transmitted by one burst transmission is 4. Therefore, when b-a+1=4, it is exactly one burst transmission (one burst amount). Fig.26 The data enclosed by a frame in the DRAM is exactly 1 burst. In this way, by arranging data on the DRAM, data can be efficiently arranged, transmitted, and acquired in units of coordinates.

[0170] Fig. 27 This is a schematic diagram of a high-dimensional data string configured on a DRAM when the high-dimensional data string is segmented. Specifically, the input data string configured on the DRAM is segmented up, down, left, and right (into 4), and each of the segmented data strings is processed as a separate data of size 15×15. In this way, data can be configured, transmitted, and acquired without reducing efficiency.

[0171] When processing a higher-dimensional data string, since data at the same coordinate does not converge into a single burst transfer unit, access control is performed in such a way that one coordinate corresponds to multiple burst transfers. Fig.28A and Fig.28BThis is a schematic diagram of a high-dimensional data string configured on DRAM when the data of the same coordinate spans multiple burst transmissions. Specifically, since the 1D to 8D data of the same coordinate does not converge to one burst transmission unit, the data formed by bit-connecting the 1D to 4D data and the data formed by bit-connecting the 5D to 8D data are respectively configured on the DRAM. That is, the data formed by bit-connecting the 1D to 4D data of the coordinate positions (0, 0) to (29, 29) and the data formed by bit-connecting the 5D to 8D data are configured on the DRAM.

[0172] Fig.28A This is an example of dividing the data of the same coordinates into multiple rectangular areas. The data of 1-dimensional to 4-dimensional data in the coordinate positions (0, 0) to (29, 29) are bit-connected, the data of 5-dimensional to 8-dimensional data are bit-connected, etc. are divided into rectangular areas.

[0173] Fig.28B This is an example of arranging data of the same coordinates at consecutive addresses. Data formed by bit-connecting 1- to 4-dimensional data at coordinate positions (0, 0) to (29, 29), and data formed by bit-connecting 5- to 8-dimensional data, are arranged at consecutive addresses.

[0174] You can Fig.28A The same coordinate data can be divided into multiple rectangular areas as shown in Fig.28B As shown, the same coordinate data is configured at consecutive addresses, and the corresponding reading and writing methods are performed.

[0175] As described above, in order to effectively implement direct connection processing that combines inputs from multiple layers of different FM sizes and dimensions, data storage that can be burst-transferred in units of coordinates is indispensable. When transferring high-dimensional data strings to or from DRAM, by utilizing burst transmission, it is possible to prevent a decrease in transmission efficiency.

[0176] (Circuit Structure)

[0177] Next, the circuit structure for processing the data in the above format is described. Here, for the sake of simplicity, the dimension of the input data is also set to 16. In addition, the overall structure of the operation processing device for processing the data in the above format is the same as that of Figure 2 same.

[0178] DRAM (external memory for storage) 9 is a large-capacity memory for storing high-dimensional data strings. Here, the high-dimensional data string is a data string having position information of one dimension or more and a high-order element at the position. Moreover, as described above, the same coordinate of the high-dimensional data string is configured so that it can be obtained by more than one burst transmission.

[0179] In the case of deep learning, the high-dimensional data string stored in the external memory is a feature map having dimensional coordinate information and high-order feature quantities for each coordinate, and the amount of data corresponding to one coordinate becomes more than one unit of the burst transmission amount.

[0180] The data input unit 3 acquires a high-dimensional data string from the DRAM 9 by burst transfer, and transfers the acquired high-dimensional data string to the IBUF (data storage memory) management unit 5 .

[0181] In the case of deep learning, the data input unit 3 calculates the read address for accessing DRAM 9 based on the number of faces and coordinates of the feature map to be input, obtains a high-dimensional data string (iFM) from DRAM 9 through burst transmission, and transmits the obtained high-dimensional data string to the IBUF management unit.

[0182] Fig.29 1 is a block diagram showing the structure of the IBUF management unit 5 for processing the data in the above format. The IBUF management unit 5 includes an internal coordinate conversion unit 54, an IBUF write control unit 55, an IBUF read control unit 56, and IBUFs 1-16.

[0183] The internal coordinate conversion unit 54 generates coordinates and IDs (supplementary information) for processing in the calculation unit 7 by counting the high-dimensional data string obtained by the data input unit 3 from the DRAM 9 according to a predetermined method.

[0184] In the case of deep learning (DeepLearning), the internal coordinate conversion unit 54 generates the ID (iFMID) and coordinates of the feature amount map.

[0185] The number of dimensions of data that can be acquired by one burst transfer is 4, so 16-dimensional data can be acquired by four burst transfers. Therefore, the value of ID changes in a cycle of 0, 1, 2, and 3.

[0186] The IBUF write control unit 55 generates a write control signal for the IBUF based on the generated coordinates. At this time, the write control signal for the IBUF is generated as follows based on the value of the ID.

[0187] ID=0: The input is the 1st to 4th data, which are stored in IBUF1 to IBUF4.

[0188] ID=1: The input is the 5th to 8th data, which are stored in IBUF 5 to IBUF 8.

[0189] ID=2: The input is the 9th to 12th data, which are stored in IBUF9 to IBUF12.

[0190] ID=3: The input is the 13th to 16th data, which are stored in IBUF13 to IBUF16.

[0191] In the case of deep learning, the IBUF write control unit generates a write control signal and a write address for the data storage memory that is the write target based on the ID (iFMID) and coordinates of the feature map. In this way, the data obtained from the DRAM is converted into a processing benchmark in the operation unit (corresponding to the coordinate of the input FM), and the CNN processing in the operation unit can be performed by appropriately writing to the IBUF.

[0192] Fig.30 This is a schematic diagram of IBUF. The write address is calculated based on the coordinates, so if Fig.30 As shown, different dimensional data with the same coordinates are stored in the same address of each IBUF.

[0193] The IBUF read control unit 56 receives the request from the operation unit 7 and accesses the required data from the IBUF in a specified order. The operation unit 7 uses the data to perform specified data processing. Then, the data output unit 8 collectively outputs the data of the same coordinate output from the operation unit 7 as a high-dimensional data string in burst transmission units.

[0194] In the case of deep learning, the data output unit 8 calculates a write address for accessing the DRAM 9 based on the number of planes and coordinates of the feature map to be output, and outputs data to the DRAM 9 by burst transfer.

[0195] Next, description will be given of an operation example of the internal coordinate conversion unit 54. As a first example, description will be given of the processing of the internal coordinate conversion unit 54 in a normal process. Fig.31 is a diagram showing the processing of the internal coordinate transformation unit in normal processing, showing Fig.26 The iFM generates coordinates and iFMID as shown. iFMID is always 0, and the coordinates are the state of the iFM image. iFMID is 0, so all data is stored in IBUF 1 to 4.

[0196] In this case, since IBUFs 5 to 16 are not used, four IBUFs can actually be used as one IBUF without waste, such as IBUFs 1 to 4 are equivalent to IBUF 1, IBUFs 5 to 8 are equivalent to IBUF 2, IBUFs 9 to 12 are equivalent to IBUF 3, and IBUFs 13 to 16 are equivalent to IBUF 4.

[0197] As a second example, the processing of the internal coordinate conversion unit 54 in the direct connection processing will be described. Fig.32 is a diagram showing the processing of the internal coordinate transformation unit in the direct connection processing, showing the Fig. 27 The iFM shown generates coordinates and iFMID and writes them out to IBUF.

[0198] iFMID is set to different values ​​along the top, bottom, left, and right sides in FM, and in each iFMID area, coordinates are assigned with the upper left corner as the origin. Fig.32 The data shown at the bottom is written to IBUF as follows.

[0199] Data in the area where iFMID = 0: stored in IBUF 1 to 4

[0200] Data in the area where iFMID=1: stored in IBUF 5 to 8

[0201] Data in the area where iFMID = 2: stored in IBUF 9 to 12

[0202] Data in the area where iFMID=3: stored in IBUF 13 to 16

[0203] There are many methods for performing conversion to coordinates and generating IDs, but as a simple example, when input is streamed in a raster scan format, conversion and generation can be performed by counting the number of valid data.

[0204] In the above description, IBUF is represented as an image of a different SRAM for each dimension. However, one (or more) SRAMs may be virtually divided to store data of multiple dimensions in one SRAM.

[0205] An embodiment of the present invention has been described above, but the technical scope of the present invention is not limited to the above embodiment, and the combination of constituent elements may be changed, or various changes or deletions may be made to each constituent element within the scope of the present invention.

[0206] Each component is used to explain the function or process related to each component. One structure (circuit) can simultaneously realize the functions or processes related to multiple components.

[0207] Each component may also be realized separately or as a whole by a computer composed of one or more processors, logic circuits, memories, input / output interfaces, and computer-readable recording media, etc. In this case, the various functions or processes described above may also be realized by recording a program for realizing each component or the overall function in advance in a recording medium, and reading the recorded program into a computer system and executing it.

[0208] In this case, for example, the processor is at least one of a CPU, a DSP (Digital Signal Processor), and a GPU (Graphics Processing Unit). For example, the logic circuit is at least one of an ASIC (Application Specific Integrated Circuit) and an FPGA (Field-Programmable Gate Array).

[0209] In addition, the "computer system" mentioned here may include hardware such as OS or peripheral devices. In addition, the "computer system" may include a homepage providing environment (or display environment) as long as it utilizes the WWW system. In addition, the "computer-readable recording medium" refers to a writable non-volatile memory such as a floppy disk, a magneto-optical disk, a ROM, a flash memory, a removable medium such as a CD-ROM, and a storage device such as a hard disk built into the computer system.

[0210] Furthermore, "computer-readable recording medium" may also include a recording medium that retains the program for a certain period of time, such as a volatile memory (e.g., DRAM (Dynamic Random Access Memory)) inside a computer system that serves as a server or client when the program is sent via a network such as the Internet or a communication line such as a telephone line.

[0211] In addition, the above-mentioned program can be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or a transmission wave in the transmission medium. Here, the "transmission medium" for transmitting the program is a medium having the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. In addition, the above-mentioned program can also be a program for realizing a part of the above-mentioned functions. Moreover, it can also be a program that realizes the above-mentioned functions by combining with a program already recorded in a computer system, i.e., a so-called differential file (differential program).

[0212] Industrial Applicability

[0213] The present invention can be widely applied to arithmetic processing devices for deep learning using convolutional neural networks, and can perform convolution processing and full connection processing in a common circuit. In addition, it can also cope with direct connection processing and maintain high DRAM transmission efficiency.

[0214] Description of symbols

[0215] 1: Operation processing device;

[0216] 2: Controller;

[0217] 3: Data input section;

[0218] 4: Coefficient input part;

[0219] 5: IBUF (data storage memory) management unit;

[0220] 6: WBUF (coefficient storage memory) management unit;

[0221] 7: Operation unit;

[0222] 8: Data output unit;

[0223] 9: DRAM (external memory for storage);

[0224] 51: SRAM read control unit;

[0225] 52: Delay circuit;

[0226] 53: coefficient zero detection unit;

[0227] 54: internal coordinate transformation unit;

[0228] 55: IBUF (data storage memory) write control unit;

[0229] 56: IBUF (data storage memory) read control unit;

[0230] 61: WBUF (coefficient storage memory) reading unit;

[0231] 62: Data zero detection unit;

[0232] 63: Delay circuit;

[0233] 71: operation control unit;

[0234] 72: filtering processing unit;

[0235] 73: Multiplier;

[0236] 74: 1st adder;

[0237] 75: 2nd adder;

[0238] 76: nonlinear transformation unit;

[0239] 77: Pooling treatment unit;

[0240] 78: operation execution determination unit;

[0241] 79: Zero Detection Department.

Claims

1. A processing device for deep learning of convolution processing and full connection processing, wherein: The computing device has: A data storage memory management section having a data storage memory for storing input feature quantity map data and a data storage memory control circuit for controlling the data storage memory; A coefficient storage memory management unit including a coefficient storage memory for storing coefficients and a coefficient storage memory control circuit for controlling the coefficient storage memory; a data input unit that acquires the input feature quantity map data from an external memory for storage; A coefficient input unit that obtains the coefficient from an external memory for storage; a data output unit that writes the output feature quantity map data to the external memory for storage; an operation unit that obtains the input feature map data from the data storage memory and the coefficients from the coefficient storage memory in a structure of N parallel inputs and M parallel outputs, and performs filtering processing, cumulative addition processing, nonlinear operation processing, and pooling processing, wherein N, M ≥ 1; and a controller that controls the data storage memory management unit, the coefficient storage memory management unit, the data input unit, the data output unit, and the operation unit, The data storage memory management unit takes out the input feature quantity map data from the data storage memory, The coefficient storage memory management unit refers to the state of the data storage memory management unit and fetches from the coefficient storage memory the coefficient corresponding to the data fetched from the data storage memory management unit. The data output unit connects the M parallel data output from the computing unit and outputs them to the external memory for storage. The computing unit comprises: a filter processing unit including a multiplier and a first adder, and performing the filter processing; a second adder for performing the cumulative addition process of cumulatively adding all the results of the filtering process executed in N parallel manner; a nonlinear transformation unit that performs the nonlinear operation processing on the result of the cumulative addition processing; a pooling processing unit that performs the pooling processing on the result of the nonlinear operation processing; and an operation control unit that controls the filtering unit, the second adder, the nonlinear transformation unit, and the pooling unit, When the operation control unit performs full connection processing, The control operation unit is configured to convert an input one-dimensional data string into a data string of a specified size of N sides, wherein the number of elements of the one-dimensional data string is n, the specified size is Fx×Fy, n≤Fx×Fy×N, and at least one of Fx and Fy is greater than or equal to 2, The filter size is set to the specified size Fx×Fy, The calculation unit is controlled so that the size of the feature map data output as a one-dimensional data string having m elements is 1×1 and the number of elements is m.

2. The operation processing device according to claim 1, wherein: The data storage memory has a buffer that stores a data set required for calculating one data after the pooling process, and the buffer stores data read from the data storage memory.

3. The operation processing device according to claim 1, wherein: When at least one of the input feature quantity map data and the coefficient is zero, the calculation execution determination unit notifies the filter processing unit that the calculation is ignored. When the calculation execution determination unit notifies the operator of the calculation to be ignored, the filter processing unit stops the calculation processing.

4. The operation processing device according to claim 2, wherein: When at least one of the input feature quantity map data and the coefficient is zero, the calculation execution determination unit notifies the filter processing unit that the calculation is ignored. When the calculation execution determination unit notifies the operator of the calculation to be ignored, the filter processing unit stops the calculation processing.

5. The operation processing device according to claim 3, wherein: The coefficient storage memory management unit includes a data zero detection unit that detects whether the input feature quantity map data read from the data storage memory is zero. The coefficient storage memory management unit accesses only the coefficient storage memory of the coefficient storage memory for which the input feature quantity map data read out from the corresponding data storage memory is not zero, and fetches the coefficient. The calculation execution determination unit detects a portion where the coefficient is zero, and when the logical sum of the result of the detection and the result of the data zero detection unit is zero, notifies the filter processing unit that the calculation is ignored.

6. The operation processing device according to claim 4, wherein: The coefficient storage memory management unit includes a data zero detection unit that detects whether the input feature quantity map data read from the data storage memory is zero. The coefficient storage memory management unit accesses only the coefficient storage memory of the coefficient storage memory for which the input feature quantity map data read out from the corresponding data storage memory is not zero, and fetches the coefficient. The calculation execution determination unit detects a portion where the coefficient is zero, and when the logical sum of the result of the detection and the result of the data zero detection unit is zero, notifies the filter processing unit that the calculation is ignored.

7. The operation processing device according to any one of claims 3 to 6, wherein: The N parallel data storage memory management unit has: a coefficient zero detection unit for detecting whether all N parallel coefficients among the N×M coefficients stored in the coefficient storage memory are zero, and outputting a coefficient zero detection signal; as well as an SRAM read control unit that takes out the input feature quantity map data only from the data storage memory corresponding to the coefficients for which the coefficient zero detection signal is not zero in the data storage memory, The calculation execution determination unit detects a portion of the input feature quantity map data that is zero, and when a logical sum of a result of the detection and a result of the zero coefficient detection unit is zero, notifies the filter processing unit that the calculation is omitted.

8. The operation processing device according to claim 1, wherein: The storage uses an external memory to store a high-dimensional data string, which is a data string having position information of one dimension or more and a high-order element at the position, The data input unit obtains the high-dimensional data string from the storage external memory by burst transmission, and transmits the obtained high-dimensional data string to the data storage memory management unit. The data output unit collectively outputs the data of the same coordinate outputted from the operation unit as a high-dimensional data string in units of burst transmission. The data storage memory management unit has: an internal coordinate conversion unit that converts the high-dimensional data string obtained by the data input unit from the storage external memory into coordinates processed in the calculation unit; a data storage memory writing control unit, which generates a writing control signal for the data storage memory according to the coordinates; the data storage memory; as well as The data storage memory read control unit receives a request from the calculation unit and accesses necessary data from the data storage memory in a predetermined order.

9. The operation processing device according to claim 1, wherein: The storage uses an external memory to store a high-dimensional data string, which is a data string having position information of one dimension or more and a high-order element at the position, The high-dimensional data string stored in the storage external memory is a feature map having dimensional coordinate information and a high-order feature map for each coordinate, and the amount of data corresponding to one coordinate is more than one unit of the burst transmission amount. The data input unit calculates a read address for accessing the storage external memory according to the number of faces and coordinates of the feature map to be input, obtains a high-dimensional data string from the storage external memory through burst transmission, and transmits the obtained high-dimensional data string to the data storage memory management unit. The data output unit calculates a write address for accessing the external memory for storage based on the number of planes and coordinates of the feature map to be output, and outputs data to the external memory for storage by burst transfer. The data storage memory management unit has: an internal coordinate transformation unit that generates coordinates and supplemental information; and a data storage memory write control unit, which generates a write control signal for the data storage memory according to the supplementary information, The internal coordinate conversion unit generates the supplementary information and the coordinates of the feature quantity map by counting the high-dimensional data string obtained by the data input unit from the storage external memory according to a predetermined method. The data storage memory write control unit generates a write control signal and a write address for a data storage memory to be written based on the supplementary information of the feature amount map and the coordinates.

Citation Information

Patent Citations

  • Image memory control apparatus and image processing apparatus

    JP2012146032A

  • Arithmetic processing unit

    JP2016099707A

  • Parallel arithmetic device, image processor and parallel arithmetic method

    JP2017027314A

  • Data specifying program, data specifying method, and data specifying device

    JP2018018306A

  • FPGA-based configurable-coefficient filter and filtering method, and electronic equipment

    CN104579240A