Supercharge Your Innovation With Domain-Expert AI Agents!

Code generation method and device, electronic equipment and storage medium

A technology for code generation and initial code, applied in the fields of code generation methods and devices, electronic equipment, and storage media, can solve problems such as waste of manpower and time resources, difficult migration of acceleration skills, etc., achieve code optimization, save human resources and time resources , the effect of improving performance

Pending Publication Date: 2021-07-20
SHANGHAI SENSETIME INTELLIGENT TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For efficient code, there are many general acceleration techniques. However, these acceleration techniques are difficult to migrate, so in many cases, repeated work is required for each code to apply these acceleration techniques to specific scenarios, resulting in labor and labor costs. waste of time resources

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
  • Code generation method and device, electronic equipment and storage medium
  • Code generation method and device, electronic equipment and storage medium
  • Code generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

[0036] The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.

[0037] The term "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein mean...

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 relates to a code generation method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring an initial code; analyzing the initial code to obtain an initial abstract representation of the initial code; optimizing the initial abstract representation to obtain a target abstract representation; and obtaining a target code corresponding to the initial code according to the target abstract representation. Through the process, the target abstract representation and the target code generated according to the target abstract representation can be obtained by converting the existing code into the form of the initial abstract representation and improving the initial abstract representation, the characteristics of the existing initial code are utilized, and meanwhile, better performance is achieved; therefore, according to the code generation method provided by the embodiment of the invention, code optimization can be automatically realized, so human resources and time resources are effectively saved, and the code generation performance is favorably improved.

Description

technical field [0001] The present disclosure relates to the technical field of machine learning, and in particular to a code generation method and device, electronic equipment, and a storage medium. Background technique [0002] With the surge in back-end devices and deep learning computing operations, we need more and more manpower to write codes on each back-end device to implement deep learning computing operations. For efficient code, there are many general acceleration techniques. However, these acceleration techniques are difficult to transfer, so in many cases, repeated work is required for each code to apply these acceleration techniques to specific scenarios, resulting in labor and labor costs. Waste of time resources. Contents of the invention [0003] The present disclosure proposes a code generation technical solution. [0004] According to an aspect of the present disclosure, a code generation method is provided, including: [0005] Obtain an initial code;...

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): G06F8/72G06F8/75
CPCG06F8/72G06F8/75
Inventor 韩若冰李秀红孙鹏
Owner SHANGHAI SENSETIME INTELLIGENT TECH CO LTD
Features
  • R&D
  • 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