Data selector, data processing method, chip and electronic equipment

A data selector and data technology, applied in the computer field, can solve the problems of large AI chip area, etc., and achieve the effect of saving computing time, reducing area, and reducing the amount of computing

Active Publication Date: 2020-06-26
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, different data selectors are used for comparison operations for data with different bit widths, resulting in the data selectors occupying a large area of ​​the AI ​​chip.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data selector, data processing method, chip and electronic equipment
  • Data selector, data processing method, chip and electronic equipment
  • Data selector, data processing method, chip and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0068] The data selector provided in this application can be applied to AI chips, Field-Programmable Gate Array (FPGA) chips, or other hardware circuit devices for data comparison operation processing. Optionally, the chip can be CPU (Central Processing Unit, central processing unit), GPU (Graphics Processing Unit, graphics processor unit), NPU (Neural-Network Processing Unit, neural network processor unit), DSP (Digital Signal Process, at least one of digital signal processing) chips. The structure diagram of the above data selector is as follows: figure 1 , figure 2 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a data selector, a data processing method, a chip and electronic equipment. The data selector comprises a data read-in circuit, a cyclic comparison circuit, an end judgment circuit and an extreme value register circuit, the output end of the data read-in circuit is connected with the first input end of the cyclic comparison circuit; the first output end of the cyclic comparison circuit is connected with the first input end of the extreme value register circuit and the input end of the end judgment circuit; the output end of the ending judgment circuit is connected with the second input end of the extreme value register circuit, the first output end of the extreme value register circuit is connected with the second input end of the cyclic comparison circuit, and the data selector can perform cyclic comparison on N pieces of data to obtain a maximum value and a minimum value in the N pieces of data; in addition, the data selector can process a plurality of data comparison operations with different bit widths according to different function selection mode signals received by the cyclic comparison circuit, so that the area of an AI chip occupied by the data selector is effectively reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a data selector, a data processing method, a chip and electronic equipment. Background technique [0002] With the continuous development of digital electronic technology, the rapid development of various artificial intelligence (AI) chips has higher and higher requirements for high-performance digital comparators. The neural network algorithm is one of the algorithms widely used in smart chips, and the operation of selecting extreme values ​​from multiple data is a common operation in the neural network algorithm. [0003] Usually, because a large amount of various data needs to be input to the data comparator for comparison, and the existing data comparator can only compare two data at a time, resulting in an excessive amount of computation of the data comparator and a long computation time , affecting the processing efficiency of the data comparator. In addition, when mult...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06N20/00G06N3/063
CPCG06N3/063
Inventor 不公告发明人
Owner SHANGHAI CAMBRICON INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products