Title:
CODE COMPLETION METHOD AND APPARATUS, AND DEVICE
Document Type and Number:
WIPO Patent Application WO/2024/027279
Kind Code:
A1
Abstract:
A code completion method and apparatus, and a device, which relate to the technical field of computers. The method comprises: acquiring code context of code to be completed (801); constructing a code relationship graph, wherein the code relationship graph comprises at least one node corresponding to the code context, a first node corresponding to said code, and at least one connection edge, which comprises a first connection edge between the first node and a second node among the at least one node (802); in a coding sub-network, obtaining a graph feature vector of the code relationship graph on the basis of labels of the at least one node and the first node and a label of the at least one connection edge, wherein the label of the at least one node comprises a code sequence of the code context, and the labels of the first node and the first connection edge are preset (803); and in a decoding sub-network, obtaining a code sequence of said code at least on the basis of the graph feature vector (804).
More Like This:
Inventors:
CHEN CHI (CN)
ZHANG GUOAN (CN)
ZHANG GUOAN (CN)
Application Number:
PCT/CN2023/094442
Publication Date:
February 08, 2024
Filing Date:
May 16, 2023
Export Citation:
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F8/33
Foreign References:
CN115291854A | 2022-11-04 | |||
CN113064586A | 2021-07-02 | |||
CN114489669A | 2022-05-13 | |||
CN110688121A | 2020-01-14 | |||
CN113867710A | 2021-12-31 | |||
US20200097261A1 | 2020-03-26 |
Attorney, Agent or Firm:
E-TONE INTELLECTUAL PROPERTY FIRM (GENERAL PARTNERSHIP) (CN)
Download PDF:
Previous Patent: WATER HYDROGEN GENERATOR HAVING MULTIFUNCTIONAL RAW MATERIAL BOX
Next Patent: INSTRUCTION EXECUTION METHOD AND DEVICE
Next Patent: INSTRUCTION EXECUTION METHOD AND DEVICE