JP2021012596A - 演算処理装置及び演算処理方法 - Google Patents
演算処理装置及び演算処理方法 Download PDFInfo
- Publication number
- JP2021012596A JP2021012596A JP2019127080A JP2019127080A JP2021012596A JP 2021012596 A JP2021012596 A JP 2021012596A JP 2019127080 A JP2019127080 A JP 2019127080A JP 2019127080 A JP2019127080 A JP 2019127080A JP 2021012596 A JP2021012596 A JP 2021012596A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- feature
- memories
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 105
- 238000004364 calculation method Methods 0.000 title claims abstract description 88
- 238000003672 processing method Methods 0.000 title claims 4
- 230000015654 memory Effects 0.000 claims abstract description 358
- 238000000034 method Methods 0.000 claims abstract description 79
- 230000008569 process Effects 0.000 claims description 64
- 238000004590 computer program Methods 0.000 claims description 7
- 238000013527 convolutional neural network Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000001186 cumulative effect Effects 0.000 description 7
- 238000013500 data storage Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000003909 pattern recognition Methods 0.000 description 6
- 238000007781 pre-processing Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000006993 memory improvement Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0688—Non-volatile semiconductor memory arrays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/06—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N3/063—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Neurology (AREA)
- Image Analysis (AREA)
- Complex Calculations (AREA)
- Memory System (AREA)
- Image Input (AREA)
Abstract
Description
output(x,y):2次元座標(x、y)での演算結果
weight(column,row):座標(x+column、y+row)での重み係数
L:前階層の特徴マップ数
columnSize、rowSize:コンボリューションカーネルサイズ
CNNによる処理では、複数のコンボリューションカーネルを画素単位で走査しながら積和演算を繰り返し、最終的な積和結果を非線形変換することで特徴面を算出する。なお、特徴面703aを算出する場合は、前階層との結合数が1であるため、コンボリューションカーネルは1つである。ここで、7021a〜dはそれぞれ、特徴面703a〜dを算出する際に使用されるコンボリューションカーネルである。
先ず、本実施形態に係る演算処理装置としてのパターン認識装置を利用した画像処理システムのハードウェア構成例について、図6のブロック図を用いて説明する。本実施形態に係る画像処理システムは、入力画像から特定の物体の領域を検出する機能を有する。
<第1階層708>
・特徴面の幅:20
・特徴面数:4
・特徴面を配置する中間バッファの先頭アドレス:0x0
・中間バッファのライン数:4ライン
<第2階層709>
・特徴面の幅:20
・特徴面数:4
・特徴面を配置する中間バッファの先頭アドレス:0xa0
・中間バッファのライン数:5ライン
<第3階層710>
・特徴面の幅:20
・特徴面数:1
・特徴面を配置する中間バッファの先頭アドレス:0xa0
<第2階層演算に使用するコンボリューションカーネルサイズ>
・4×4
<第3階層演算に使用するコンボリューションカーネルサイズ>
・5×5
次に、ステップS402では、CPU606はDMAC605を起動し、コンボリューション演算部101に重み係数を転送する。コンボリューション演算部101に転送する重み係数は、特徴面703a〜d、特徴面705a〜d、特徴面707の演算に使用する全てとする。
以下では、第1の実施形態との差分について説明し、以下で特に触れない限りは第1の実施形態と同様であるものとする。第1の実施形態では、特徴面が二次元のデータである例を説明したが、特徴面のデータの次元数は2に限らず、例えば、一次元や三次元であってもよい。
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
Claims (6)
- 入力された画像データに対して階層的にフィルタ演算処理を施して複数の特徴面を算出する演算処理装置であって、
コンボリューション演算を行う演算部と、
前記演算部の画像データと演算結果とを格納する複数のメモリで構成されるデータ保持部と、
前記演算部が出力する演算結果を受信し、該受信した演算結果のうち、同一特徴面の連続するラインのデータを前記複数のメモリのうち異なるメモリに書き込み、同じ階層の複数の特徴面の同一座標のデータを前記複数のメモリのうち異なるメモリに書き込むメモリ書き込み制御部と、
同一特徴面の連続するラインのデータを、前記データ保持部の異なるメモリから読み出し、同じ階層の異なる特徴面の同一座標のデータを、前記データ保持部の異なるメモリから読み出し、前記演算部へ送信するメモリ読み出し制御部と
を備えることを特徴とする演算処理装置。 - 前記フィルタ演算処理は、階層ごとにコンボリューションに使用するカーネルサイズを任意の値に設定することができることを特徴とする請求項1に記載の演算処理装置。
- 前記フィルタ演算処理は、階層ごとに前記データ保持部に格納する特徴面のライン数を任意の値に設定することができることを特徴とする請求項1に記載の演算処理装置。
- 前記メモリ書き込み制御部は、前記データ保持部を構成するメモリの数をM(M>1)、階層における特徴面の数をN(N>1)とすると、N mod M=0のとき、M個の特徴面を1組とし、同じ組内の特徴面の同一座標のデータを、異なるメモリの同一アドレスに格納することを特徴とする請求項1記載の演算処理装置。
- 入力された画像データに対して階層的にフィルタ演算処理を施して複数の特徴面を算出する演算処理装置が行う演算処理方法であって、
前記演算処理装置の演算部が、コンボリューション演算を行う演算工程と、
前記演算処理装置のメモリ書き込み制御部が、前記演算部が出力する演算結果を受信し、該受信した演算結果のうち、同一特徴面の連続するラインのデータを、前記演算部の画像データと演算結果とを格納する複数のメモリのうち異なるメモリに書き込み、同じ階層の複数の特徴面の同一座標のデータを前記複数のメモリのうち異なるメモリに書き込むメモリ書き込み制御工程と、
前記演算処理装置のメモリ読み出し制御部が、同一特徴面の連続するラインのデータを、前記複数のメモリにおける異なるメモリから読み出し、同じ階層の異なる特徴面の同一座標のデータを、前記複数のメモリにおける異なるメモリから読み出し、前記演算部へ送信するメモリ読み出し制御工程と
を備えることを特徴とする演算処理方法。 - 入力された画像データに対して階層的にフィルタ演算処理を施して複数の特徴面を算出する演算処理装置のコンピュータに、請求項5に記載の演算処理方法の各工程を実行させるためのコンピュータプログラム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019127080A JP7308674B2 (ja) | 2019-07-08 | 2019-07-08 | 演算処理装置及び演算処理方法 |
US16/916,334 US11347430B2 (en) | 2019-07-08 | 2020-06-30 | Operation processing apparatus that executes hierarchical calculation, operation processing method, and non-transitory computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019127080A JP7308674B2 (ja) | 2019-07-08 | 2019-07-08 | 演算処理装置及び演算処理方法 |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2021012596A true JP2021012596A (ja) | 2021-02-04 |
JP2021012596A5 JP2021012596A5 (ja) | 2022-07-15 |
JP7308674B2 JP7308674B2 (ja) | 2023-07-14 |
Family
ID=74102279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019127080A Active JP7308674B2 (ja) | 2019-07-08 | 2019-07-08 | 演算処理装置及び演算処理方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US11347430B2 (ja) |
JP (1) | JP7308674B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7278150B2 (ja) * | 2019-05-23 | 2023-05-19 | キヤノン株式会社 | 画像処理装置、撮像装置、画像処理方法 |
CN112860320A (zh) * | 2021-02-09 | 2021-05-28 | 山东英信计算机技术有限公司 | 基于risc-v指令集进行数据处理的方法、系统、设备及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10294859A (ja) * | 1997-04-22 | 1998-11-04 | Fuji Xerox Co Ltd | 画像処理装置、画像処理方法、画像読取装置、複写機および記録媒体 |
JP2007122706A (ja) * | 2005-10-01 | 2007-05-17 | Samsung Electronics Co Ltd | メモリマッピング方法及び装置 |
JP2018050198A (ja) * | 2016-09-21 | 2018-03-29 | キヤノン株式会社 | 画像処理装置、その制御方法、及びプログラム |
JP2018147182A (ja) * | 2017-03-03 | 2018-09-20 | キヤノン株式会社 | 演算処理装置およびその制御方法 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6162187A (ja) | 1984-09-03 | 1986-03-31 | Fuji Xerox Co Ltd | 画像処理装置 |
JP5368687B2 (ja) | 2007-09-26 | 2013-12-18 | キヤノン株式会社 | 演算処理装置および方法 |
US9665799B1 (en) * | 2016-01-29 | 2017-05-30 | Fotonation Limited | Convolutional neural network |
EP3460724A1 (en) * | 2017-09-22 | 2019-03-27 | Kabushiki Kaisha Toshiba | Operation device and operation system |
JP2019207458A (ja) * | 2018-05-28 | 2019-12-05 | ルネサスエレクトロニクス株式会社 | 半導体装置及びメモリアクセス設定方法 |
-
2019
- 2019-07-08 JP JP2019127080A patent/JP7308674B2/ja active Active
-
2020
- 2020-06-30 US US16/916,334 patent/US11347430B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10294859A (ja) * | 1997-04-22 | 1998-11-04 | Fuji Xerox Co Ltd | 画像処理装置、画像処理方法、画像読取装置、複写機および記録媒体 |
JP2007122706A (ja) * | 2005-10-01 | 2007-05-17 | Samsung Electronics Co Ltd | メモリマッピング方法及び装置 |
JP2018050198A (ja) * | 2016-09-21 | 2018-03-29 | キヤノン株式会社 | 画像処理装置、その制御方法、及びプログラム |
JP2018147182A (ja) * | 2017-03-03 | 2018-09-20 | キヤノン株式会社 | 演算処理装置およびその制御方法 |
Non-Patent Citations (1)
Title |
---|
岡本 卓也: "高位合成による小規模FPGA向けDNN推論器の設計", 情報処理学会 研究報告 組込みシステム(EMB), vol. 2019−EMB−050, JPN6023022555, 10 March 2019 (2019-03-10), JP, pages 1 - 8, ISSN: 0005074949 * |
Also Published As
Publication number | Publication date |
---|---|
JP7308674B2 (ja) | 2023-07-14 |
US20210011653A1 (en) | 2021-01-14 |
US11347430B2 (en) | 2022-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11699067B2 (en) | Arithmetic processing apparatus and control method therefor | |
US9135553B2 (en) | Convolution operation circuit and object recognition apparatus | |
CN111984189B (zh) | 神经网络计算装置和数据读取、数据存储方法及相关设备 | |
JP6800656B2 (ja) | 演算回路、その制御方法及びプログラム | |
JP7308674B2 (ja) | 演算処理装置及び演算処理方法 | |
CN114041140A (zh) | 事件驱动脉冲卷积神经网络 | |
US11704546B2 (en) | Operation processing apparatus that calculates addresses of feature planes in layers of a neutral network and operation processing method | |
US11775809B2 (en) | Image processing apparatus, imaging apparatus, image processing method, non-transitory computer-readable storage medium | |
JP7391553B2 (ja) | 情報処理装置、情報処理方法、及びプログラム | |
JP2023058636A (ja) | 情報処理装置及びメモリ制御方法 | |
JP5327482B2 (ja) | 画像処理装置及び画像処理方法 | |
JP7297468B2 (ja) | データ処理装置及びその方法 | |
JP2010033507A (ja) | メモリコントローラおよび画像処理装置 | |
JP7321213B2 (ja) | 情報処理装置、情報処理方法 | |
CN110072032B (zh) | 图像处理装置 | |
US20230334820A1 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium | |
JP4835872B2 (ja) | 画像処理装置 | |
TWI632527B (zh) | 影像擷取與輸出方法 | |
TW202326606A (zh) | 影像扭曲校正的方法 | |
KR101712435B1 (ko) | 윤곽선 깊이정보 확장장치 | |
CN117274068A (zh) | 图像的校正方法、系统和终端和计算机存储介质 | |
JP2945028B2 (ja) | 画像処理指定領域情報計算装置 | |
KR20170068774A (ko) | 적분 영상을 사용하지 않는 surf 특징점 추출 방법 및 장치 | |
JPH0316374A (ja) | 画像処理指定領域情報計算装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220707 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220707 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230530 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230605 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230704 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7308674 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |