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

Inference method and device

A reasoning method and forward reasoning technology, applied in the field of reasoning methods and devices, can solve problems such as heavy development workload and high development difficulty, and achieve the effect of low development difficulty and reduced development workload

Pending Publication Date: 2021-10-01
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After a neural network model is trained, in order to enable the custom operators in the neural network model to adapt to devices with various hardware conditions, the user needs to manually convert the operators that are not supported by each device into The executable code supported by the corresponding device requires a huge development workload, and users need to understand the hardware characteristics of various devices, making development difficult

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
  • Inference method and device
  • Inference method and device
  • Inference method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0076] An operator is used to indicate a data processing operation and describe a calculation method. According to basic operators and custom operators, a neural network model can be constructed and trained, and the neural network model can be deployed on various devices for forward reasoning. However, the hardware conditions of different devices may be different, therefore, the operators supported by the hardware of different devices may be different. In order to enable the custom operators in the neural network model to adapt to devices with various hardware conditions to perform corresponding data processing operations, this application provides a general reasoning method, which does not require users to understand various Ha...

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 discloses an inference method and device, and belongs to the field of data processing. Operators which are not supported by the target hardware and do not have corresponding replaceable operators can be determined, namely, the operators of the first type in the neural network model are determined, then the registration operators corresponding to the operators of the first type determined based on the domain-specific language are acquired, and the registration operators are processed. A target executable code supported by the target hardware is acquired, and forward Inference is performed by the target hardware according to the target executable code and the neural network model. Due to the fact that the design of the specific language in the field is irrelevant to hardware, a user can compile the registration operator without knowing hardware characteristics of equipment, and development difficulty is low. Besides, aiming at the same first type of operators possibly corresponding to different hardware, the user only needs to write the operator once to obtain the corresponding registration operator, and the registration operator can be applied to different hardware, so that the development workload is relatively low.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a reasoning method and device. Background technique [0002] Operators are used to indicate a data processing operation and describe a calculation method. For example, neural networks usually include basic convolution operators and pooling operators. Convolution operators are used to indicate a convolution operation. Pooling An operator is used to indicate a pooling operation. Users can also define their own calculation methods according to their needs, and the calculation methods defined by themselves can be called custom operators. A neural network model can be constructed and trained based on basic operators and custom operators. Afterwards, the neural network model can be deployed on various devices for forward inference. [0003] Since the hardware conditions of different devices may be different, the operators supported by different devices may be different. Gen...

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
IPC IPC(8): G06N5/04G06N3/04G06N3/08
CPCG06N5/045G06N5/046G06N3/08G06N3/045
Inventor 浦世亮叶挺群王鹏
Owner HANGZHOU HIKVISION DIGITAL TECH
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More