Processing device of a neural network to process image data
AssigneeToshiba Memory Corporation
InventorDaisuke Miyashita
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a processing device includes: a first circuit configured to execute first processing using a first matrix to first data of a size of 5×5 within input data to generate second data; a second circuit configured to execute second processing using a second matrix to third data of a size of 3×3 to generate fourth data; a third circuit configured to execute a product-sum operation on the second data and the fourth data; and a fourth circuit configured to execute third processing using a third matrix on a result of the product-sum operation on the second data and the fourth data to obtain a first value corresponding to a result of a product-sum operation on the first data and the third data.
Claims20
A computer system for processing input image data, comprising:
- a memory;
- and
- a processor configured to execute an operation of a neural network using data stored in the memory, the neural network comprising a plurality of processing devices including a first processing device and a second processing device,
- the first processing device configured to
- receive input data including the image data;
- execute first processing using a first matrix to first data of a size of 5×5 within the received input data to generate second data;
- execute second processing using a second matrix to third data of a size of 3×3 to generate fourth data;
- execute a product-sum operation on the generated second data and the generated fourth data;
- execute third processing using a third matrix on a result of the product-sum operation on the second data and the fourth data to obtain a first value corresponding to a result of a product-sum operation on the first data and the third data;
- and
- output the obtained first value to the second processing device,
- wherein:
- the first matrix is represented by equation (P1):
- B
- T
- =
- [
- 0
- 1
- 0
- 0
- 0
- 1
- 0
- 1
- 0
- 0
- 1
- 0
- -
- 1
- 0
- 0
- 1
- 0
- 0
- 0
- -
- 1
- 0
- 0
- 0
- 1
- 0
- ]
- ,
- (
- P1
- )
- and
- the second matrix is represented by equation (P2):
- G
- =
- [
- 0
- 1
- 0
- 1
- 2
- 0
- 1
- 2
- 1
- 2
- 0
- -
- 1
- 2
- 0
- 0
- 1
- 0
- 1
- 0
- ]
- .
- (
- P2
- )
A data processing method of a computer system for processing input image data, the computer system including a memory and a processer configured to execute an operation of a neural network using data stored in the memory, the neural network comprising a plurality of processing devices including a first processing device and a second processing device, the data processing method comprising:
- receiving input data including the image data;
- executing, by the first processing device, first processing using a first matrix indicated as an equation (Q1) to first data of a size of 5×5 within the received input data to generate second data;
- B
- T
- =
- [
- 0
- 1
- 0
- 0
- 0
- 1
- 0
- 1
- 0
- 0
- 1
- 0
- -
- 1
- 0
- 0
- 1
- 0
- 0
- 0
- -
- 1
- 0
- 0
- 0
- 1
- 0
- ]
- (
- Q1
- )
- executing, by the fir processing device, second processing using a second matrix indicated as an equation (Q2) to third data of a size of 3×3 to generate fourth data;
- G
- =
- [
- 0
- 1
- 0
- 1
- 2
- 0
- 1
- 2
- 1
- 2
- 0
- -
- 1
- 2
- 0
- 0
- 1
- 0
- 1
- 0
- ]
- (
- Q2
- )
- executing, by the first processing device, a product-sum operation on the generated second data and the generated fourth data;
- executing, by the first processing device, third processing using a third matrix on a result of the product-sum operation on the second data and the fourth data to obtain a first value corresponding to a result of a product-sum operation on the first data and the third data;
- and
- outputting, by the first processing device, the obtained first value to the second processing device.
Dependencies are inferred from the claim text.