JP7269381B2 - 計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記憶媒体 - Google Patents
計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記憶媒体 Download PDFInfo
- Publication number
- JP7269381B2 JP7269381B2 JP2021576625A JP2021576625A JP7269381B2 JP 7269381 B2 JP7269381 B2 JP 7269381B2 JP 2021576625 A JP2021576625 A JP 2021576625A JP 2021576625 A JP2021576625 A JP 2021576625A JP 7269381 B2 JP7269381 B2 JP 7269381B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- component
- value
- computing device
- bit width
- 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.)
- Active
Links
Images
Classifications
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/499—Denomination or exception handling, e.g. rounding or overflow
- G06F7/49942—Significance control
- G06F7/49947—Rounding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7867—Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
- G06F15/7871—Reconfiguration support, e.g. configuration loading, configuration switching, or hardware OS
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/4824—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices using signed-digit representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/52—Multiplying; Dividing
- G06F7/523—Multiplying only
- G06F7/53—Multiplying only in parallel-parallel fashion, i.e. both operands being entered in parallel
- G06F7/5324—Multiplying only in parallel-parallel fashion, i.e. both operands being entered in parallel partitioned, i.e. using repetitively a smaller parallel parallel multiplier or using an array of such smaller multipliers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/3804—Details
- G06F2207/3808—Details concerning the type of numbers or the way they are handled
- G06F2207/3812—Devices capable of handling different types of numbers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/3804—Details
- G06F2207/3808—Details concerning the type of numbers or the way they are handled
- G06F2207/3812—Devices capable of handling different types of numbers
- G06F2207/3816—Accepting numbers of variable word length
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Neurology (AREA)
- Molecular Biology (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- Computer Hardware Design (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Image Processing (AREA)
Description
本願は、2020年3月17日に提出した、出願番号が2020101883356であり、発明の名称が「計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記憶媒体」である中国特許出願に基づき優先権を主張し、ここで、その内容の全ては、援用により本願に組み込まれる。
以上、本開示の実施形態を詳しく説明したが、明細書には、具体的な例を使用して、本開示の原理および実施形態を説明し、以上の実施形態の説明は、本開示の方法及びその中心となる思想を理解するためにのみ使用される。それに、当業者にとって、本開示の思想によれば、具体的な実施形態および適用範囲に変更があってもよい。要約すると、本明細書の内容は、本開示を制限するものではないと理解されるべきである。
Claims (15)
- 上位ビット部分および下位ビット部分を含むマルチビット幅値を処理するための計算装置であって、
前記マルチビット幅値と、上位ビット部分および下位ビット部分のビット幅情報を少なくとも含む構成情報とを受信するように構成される入力回路と、
前記下位ビット部分のビット幅情報と、前記マルチビット幅値とに基づいて、前記マルチビット幅値のうちの前記上位ビット部分を表す第1の成分を計算により取得するように構成される第1の成分計算回路と、
前記マルチビット幅値と少なくとも第1の成分に関する値とに基づいて、前記マルチビット幅値のうちの前記下位ビット部分を表す第2の成分を計算により取得するように構成される第2の成分計算回路と、
前記第1の成分および前記第2の成分の少なくとも1つを出力するように構成される出力回路と、を備えることを特徴とする計算装置。 - 前記下位ビット部分のビット幅情報と、前記マルチビット幅値とに基づいて、前記第1の成分を計算により取得するときに、前記第1の成分計算回路は、
前記下位ビット部分のビット幅情報に基づいてスケーリング係数を決定し、
前記スケーリング係数により前記マルチビット幅値を計算して前記第1の成分を取得するように構成されることを特徴とする請求項1に記載の計算装置。 - 前記構成情報は、前記下位ビット部分に符号ビットを含むか否かに関する符号情報をさらに含み、前記第1の成分計算回路は、前記符号情報に基づいて前記スケーリング係数を決定するように構成されることを特徴とする請求項2に記載の計算装置。
- 前記第1の成分計算回路は、スケーリング回路および丸め回路をさらに含み、前記スケーリング回路は、前記スケーリング係数に基づいて、前記マルチビット幅値に対してシフト動作を実行するように構成され、かつ前記丸め回路は、シフト動作を実行した後の前記マルチビット幅値に対して丸め操作を行って前記第1の成分を取得するように構成されることを特徴とする請求項2又は3に記載の計算装置。
- 前記符号情報は、前記下位ビット部分に符号ビットを含むことを示し、
前記第2の成分計算回路は、
前記下位ビット部分のビット幅情報に基づいて調整値を決定し、
前記マルチビット幅値、前記第1の成分に関する値および前記調整値に基づいて計算する処理を行い、前記第2の成分を取得するように構成されることを特徴とする請求項3に記載の計算装置。 - 前記第2の成分計算回路は、前記第2の成分を取得するために、前記マルチビット幅値から前記第1の成分に関する値および前記調整値を減算するように構成される減算回路を備えることを特徴とする請求項5に記載の計算装置。
- 入力されたデータを前記マルチビット幅値と同じデータ型に変換するように構成されるタイプコンバータをさらに備えることを特徴とする請求項1に記載の計算装置。
- 前記構成情報に基づいて、前記第1の成分と前記第2の成分のうち少なくとも1つを選択して、前記出力回路に出力するように構成されるセレクタをさらに備えることを特徴とする請求項1に記載の計算装置。
- 請求項1~8のいずれか1項に記載の計算装置を備える集積回路チップ。
- 計算装置により上位ビット部分および下位ビット部分を含むマルチビット幅値を処理するための方法であって、
前記計算装置が、前記マルチビット幅値と、上位ビット部分および下位ビット部分のビット幅情報を少なくとも含む構成情報とを受信するステップと、
前記計算装置が、前記下位ビット部分のビット幅情報と、前記マルチビット幅値とに基づいて、前記マルチビット幅値のうちの前記上位ビット部分を表す第1の成分を計算により取得するステップと、
前記計算装置が、前記マルチビット幅値と少なくとも第1の成分に関する値とに基づいて、前記マルチビット幅値のうちの前記下位ビット部分を表す第2の成分を計算により取得するステップと、
前記計算装置が、前記第1の成分および前記第2の成分の少なくとも1つを出力するステップとを含むことを特徴とする方法。 - 前記計算装置が、前記下位ビット部分のビット幅情報と、前記マルチビット幅値とに基づいて、前記第1の成分を計算により取得する時に、前記下位ビット部分のビット幅情報に基づいてスケーリング係数を決定するステップと、
前記計算装置が、前記スケーリング係数により前記マルチビット幅値を計算する処理を行って第1の成分を取得するステップとをさらに含むことを特徴とする請求項10に記載の方法。 - 前記構成情報は、前記下位ビット部分に符号ビットを含むか否かに関する符号情報をさらに含み、
前記方法は、前記計算装置が、前記符号情報に基づいて前記スケーリング係数を決定するステップをさらに含むことを特徴とする請求項11に記載の方法。 - 前記符号情報は、前記下位ビット部分に符号ビットを含むことを示し、
前記方法は、
前記計算装置が、前記下位ビット部分のビット幅情報に基づいて調整値を決定するステップと、
前記計算装置が、前記マルチビット幅値、前記第1の成分に関する値、および前記調整値に基づいて計算する処理を行って第2の成分を取得するステップと、
をさらに含むことを特徴とする請求項12に記載の方法。 - マルチビット幅値を処理するための計算装置であって、
プロセッサと、
プログラム命令を記憶するためのメモリとを備え、
前記プログラム命令が少なくとも1つの前記プロセッサによって実行されるときに、請求項10~13のいずれか1項に記載の方法を実行させることを特徴とする計算装置。 - マルチビット幅値を処理するためのプログラム命令が記憶されたコンピュータ読み取り可能な記録媒体であって、
前記プログラム命令がプロセッサによって実行されると、請求項10~13のいずれか1項に記載の方法が実行されることを特徴とするコンピュータ読み取り可能な記録媒体。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010188335.6 | 2020-03-17 | ||
CN202010188335.6A CN113408716A (zh) | 2020-03-17 | 2020-03-17 | 计算装置、方法、板卡和计算机可读存储介质 |
PCT/CN2021/081189 WO2021185262A1 (zh) | 2020-03-17 | 2021-03-16 | 计算装置、方法、板卡和计算机可读存储介质 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022538236A JP2022538236A (ja) | 2022-09-01 |
JP7269381B2 true JP7269381B2 (ja) | 2023-05-08 |
Family
ID=77677174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021576625A Active JP7269381B2 (ja) | 2020-03-17 | 2021-03-16 | 計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記憶媒体 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20220188071A1 (ja) |
EP (1) | EP4024197B1 (ja) |
JP (1) | JP7269381B2 (ja) |
CN (1) | CN113408716A (ja) |
WO (1) | WO2021185262A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114118387A (zh) * | 2022-01-25 | 2022-03-01 | 深圳鲲云信息科技有限公司 | 数据处理方法、数据处理装置及计算机可读存储介质 |
CN115328846A (zh) * | 2022-10-12 | 2022-11-11 | 中科声龙科技发展(北京)有限公司 | 一种实现数据操作的方法及装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001109613A (ja) | 1999-10-05 | 2001-04-20 | Mitsubishi Electric Corp | 演算装置 |
JP2020507844A (ja) | 2017-01-30 | 2020-03-12 | エイアールエム リミテッド | 入力オペランド値を処理するための装置及び方法 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0831024B2 (ja) * | 1989-02-03 | 1996-03-27 | 日本電気株式会社 | 演算プロセッサ |
US20030065699A1 (en) * | 2001-10-01 | 2003-04-03 | Koninklijke Philips Electronics N.V. | Split multiplier for efficient mixed-precision DSP |
US8495125B2 (en) * | 2009-05-27 | 2013-07-23 | Microchip Technology Incorporated | DSP engine with implicit mixed sign operands |
CN102404673B (zh) * | 2011-11-24 | 2013-12-18 | 苏州上声电子有限公司 | 数字化扬声器系统通道均衡与声场控制方法和装置 |
CN103152673B (zh) * | 2011-12-07 | 2015-07-08 | 中国科学院声学研究所 | 基于四元码动态失配整形的数字扬声器驱动方法和装置 |
CN102684701B (zh) * | 2012-04-27 | 2014-07-09 | 苏州上声电子有限公司 | 基于编码转换的数字扬声器驱动方法和装置 |
US10402932B2 (en) * | 2017-04-17 | 2019-09-03 | Intel Corporation | Power-based and target-based graphics quality adjustment |
CN110555450B (zh) * | 2018-05-31 | 2022-06-28 | 赛灵思电子科技(北京)有限公司 | 人脸识别神经网络调整方法和装置 |
US10853067B2 (en) * | 2018-09-27 | 2020-12-01 | Intel Corporation | Computer processor for higher precision computations using a mixed-precision decomposition of operations |
-
2020
- 2020-03-17 CN CN202010188335.6A patent/CN113408716A/zh active Pending
-
2021
- 2021-03-16 WO PCT/CN2021/081189 patent/WO2021185262A1/zh unknown
- 2021-03-16 JP JP2021576625A patent/JP7269381B2/ja active Active
- 2021-03-16 EP EP21772283.4A patent/EP4024197B1/en active Active
- 2021-12-20 US US17/556,389 patent/US20220188071A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001109613A (ja) | 1999-10-05 | 2001-04-20 | Mitsubishi Electric Corp | 演算装置 |
JP2020507844A (ja) | 2017-01-30 | 2020-03-12 | エイアールエム リミテッド | 入力オペランド値を処理するための装置及び方法 |
Also Published As
Publication number | Publication date |
---|---|
EP4024197A1 (en) | 2022-07-06 |
EP4024197B1 (en) | 2024-05-01 |
JP2022538236A (ja) | 2022-09-01 |
WO2021185262A1 (zh) | 2021-09-23 |
US20220188071A1 (en) | 2022-06-16 |
CN113408716A (zh) | 2021-09-17 |
EP4024197A4 (en) | 2023-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7269381B2 (ja) | 計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記憶媒体 | |
TW201935265A (zh) | 一種計算裝置及方法 | |
CN112101541B (zh) | 对高位宽值数据进行拆分的装置、方法、芯片及板卡 | |
TW202115560A (zh) | 用於浮點運算的乘法器、方法、積體電路晶片和計算裝置 | |
WO2021078210A1 (zh) | 用于神经网络运算的计算装置、方法、集成电路和设备 | |
WO2021083101A1 (zh) | 数据处理方法、装置及相关产品 | |
JP7269382B2 (ja) | 計算装置、方法、プリント基板、およびコンピュータ読み取り可能な記録媒体 | |
CN111258537B (zh) | 一种防止数据溢出的方法、装置和芯片 | |
WO2021073512A1 (zh) | 用于浮点运算的乘法器、方法、集成电路芯片和计算装置 | |
CN111523656A (zh) | 处理装置及方法 | |
CN113112009B (zh) | 用于神经网络数据量化的方法、装置和计算机可读存储介质 | |
CN114692865A (zh) | 一种神经网络量化训练方法、装置及相关产品 | |
CN111047030A (zh) | 运算方法、装置、计算机设备和存储介质 | |
CN111738428B (zh) | 计算装置、方法及相关产品 | |
CN111723920A (zh) | 人工智能计算装置及相关产品 | |
CN111047023B (zh) | 一种计算装置及相关产品 | |
WO2021169914A1 (zh) | 数据量化处理方法、装置、电子设备和存储介质 | |
WO2022001438A1 (zh) | 一种计算装置、集成电路芯片、板卡、设备和计算方法 | |
US20220083909A1 (en) | Data processing method and apparatus, and related product | |
CN117724676A (zh) | 数据比较器、数据处理方法、芯片及电子设备 | |
CN117519636A (zh) | 数据比较器、数据处理方法、芯片及电子设备 | |
CN114282162A (zh) | 矩阵乘运算方法、电子设备及存储介质 | |
CN118333068A (zh) | 矩阵乘设备 | |
CN113111997A (zh) | 用于神经网络数据量化的方法、装置和计算机可读存储介质 | |
CN115794026A (zh) | 数据移位方法及装置以及相关产品 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211223 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211223 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230228 |
|
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: 20230418 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230421 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7269381 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |