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

Neural network processing apparatus and method for executing vector copy instructions thereof

A processing device and vector technology, applied in the field of communication, can solve the problems of high computational cost, inability to realize two or more kinds of operations, and inability to realize variable-scale sparse vector or sparse matrix operations, etc.

Active Publication Date: 2018-12-18
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing vector operation instructions cannot support the operations of sparse vectors or sparse matrices in sparse neural networks, let alone the operations of variable-scale sparse vectors or sparse matrices, and the current vector operation instructions can only implement one type of operation. For example, one vector instruction can only implement one operation of multiplication and addition, but one vector instruction cannot implement more than two operations, so the existing vector operations have high computational overhead and high energy consumption.

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
  • Neural network processing apparatus and method for executing vector copy instructions thereof
  • Neural network processing apparatus and method for executing vector copy instructions thereof
  • Neural network processing apparatus and method for executing vector copy instructions thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0072] The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited ...

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 processing device, comprising a memory, a register unit, an arithmetic unit and a control unit, a memory storage vector. The register unit stores vector copy instructions, thecontrol unit obtains vector copy instructions, and analyzes the vector copy instructions to obtain an operation code and an operation field. Vector copy operation data from a memory is obtained according to the operation code; an arithmetic unit performs a vector copy operation on the data participating in the vector copy operation. The technical proposal provided by the invention has the advantages of low power consumption and low calculation cost.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a neural network processing device and a method for executing vector copy instructions. Background technique [0002] In modern general-purpose and special-purpose processors, more and more calculation instructions (such as vector instructions) are introduced to perform operations. Vector instructions are instructions that enable the processor to perform vector or matrix operations, such as addition and subtraction of vectors, inner product of vectors, matrix multiplication, and matrix convolution. In the vector instruction, at least one input is a vector or a matrix, or the operation result is a vector or a matrix. Vector instructions can perform parallel calculations by calling the vector processing components inside the processor to improve the operation speed. In the existing vector instructions, the vector or matrix in its operand or result is generally fixed in siz...

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): G06F9/302G06N3/063
CPCG06F9/3001G06F17/16G06N3/063
Inventor 王秉睿周聖元张尧
Owner SHANGHAI CAMBRICON INFORMATION TECH CO LTD
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