Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method based on photonic neural network chip and related device or equipment

A data processing device, a neural network technology, applied in image data processing, neural learning methods, biological neural network models, etc., can solve the problems of low buffer space utilization, inability to store, limited buffer storage space, etc.

Inactive Publication Date: 2020-04-14
光子算数(北京)科技有限责任公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the storage space of the buffer is limited, and all the convolution kernels and intermediate results cannot be stored at one time, and the image needs to be read repeatedly, resulting in low space utilization of the buffer.

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 processing method based on photonic neural network chip and related device or equipment
  • Data processing method based on photonic neural network chip and related device or equipment
  • Data processing method based on photonic neural network chip and related device or equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] see figure 1 , figure 1 A schematic flow chart of a data processing method based on a photonic neural network chip provided by an embodiment of the present invention. The data processing method based on a photonic neural network chip is used to reduce memory read bandwidth while improving memory read bandwidth by using a smaller buffer size. Calculation efficiency, specifically including steps:

[0045] S11. Divide the image to be processed into multiple sub-images, where at least two of the sub-images have different sizes.

[0046] S12. Perform multi-layer convolution processing on each of the sub-images, determine a buffer size corresponding to the sub-image based on the convolution kernel of each layer and intermediate results, and the buffer size is greater than or equal to the size of each layer The sum of the buffer size required by the convolution kernel and intermediate results.

[0047] S13. Determine a target buffer size based on the multiple buffer sizes. ...

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 processing method based on a photonic neural network chip and a related device or equipment, and the method comprises the steps: segmenting a to-be-processed image into aplurality of sub-images with different sizes, carrying out the multilayer convolution processing of each sub-image one by one, and determining the size of a buffer corresponding to each sub-image based on the convolution kernel of each layer and an intermediate result; and determining a target buffer size from the plurality of buffer sizes. According to the scheme, the size of the buffer is set to be larger than or equal to the sum of the occupied sizes of the buffers required by the convolution kernel of each layer and the intermediate result, that is, it is ensured that the convolution kernel and the intermediate data of one sub-image can be stored in the buffer at a time during multi-layer convolution, and repeated data reading is avoided. Since the size of the sub-image is smaller than the size of the image before cutting, the smaller the size of the input multi-layer convolution image is, the higher the convolution calculation efficiency is. According to the scheme, the calculation efficiency is improved while the memory reading bandwidth is reduced by adopting a relatively small buffer size.

Description

technical field [0001] The invention relates to the technical field of data computing, in particular to a data processing method, device, storage medium and electronic equipment based on a photonic neural network chip. Background technique [0002] Convolutional neural network has developed rapidly in the fields of speech recognition and image processing by virtue of its architectural characteristics of local weight sharing. When performing convolution calculations on images, after each layer has completed the convolution operation, the intermediate results of the calculation and the convolution kernel need to be stored in the buffer. [0003] At present, the storage space of the buffer is limited, and all the convolution kernels and intermediate results cannot be stored at one time, and the image needs to be read repeatedly, resulting in low space utilization of the buffer. Therefore, how to provide a data processing method based on the photonic neural network chip, which ...

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): G06T7/11G06N3/04G06N3/08
CPCG06T7/11G06N3/08G06T2207/10004G06N3/045
Inventor 白冰赵斌吴建兵李智
Owner 光子算数(北京)科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products