TRANSLATING BETWEEN PROGRAMMING LANGUAGES INDEPENDENTLY OF SEQUENCE-TO-SEQUENCE DECODERS

    公开(公告)号:US20230325164A1

    公开(公告)日:2023-10-12

    申请号:US17717609

    申请日:2022-04-11

    Applicant: Google LLC

    CPC classification number: G06F8/51 G06F8/73 G06K9/6223

    Abstract: Techniques are described herein for translating a source code snippet from a first programming language to a second programming language independently of sequence-to-sequence decoding. In various implementations, the source code snippet written in the first programming language may be processed using an encoder portion of a transformer network to generate an embedding of the source code snippet. The embedding of the source code snippet may be processed using an all-pair attention layer to generate an attended embedding of the source code snippet. The attended embedding of the source code snippet may be processed using an output layer to generate, by way of a single transformation of the attended embedding of the source code snippet, data indicative of a translation of the source code snippet in the second programming language.

    Systems and Methods for Synthesizing Code from Input and Output Examples

    公开(公告)号:US20220179625A1

    公开(公告)日:2022-06-09

    申请号:US17676601

    申请日:2022-02-21

    Applicant: Google LLC

    Abstract: The present disclosure provides systems and methods for synthesizing computer-readable code based on the receipt of input and output examples. A computing system in accordance with the disclosure can be configured to receive a given input and output, access and library of operations, and perform a search of a library of operations (e.g., transpose, slice, norm, etc.) that can be applied to the input. By applying the operations to the input and tracking the results, the computing system may identify an expression comprising one or a combination of operations that when applied to the input generates the output. In this manner, implementations of the disclosure may be used to identify one or more solutions that a user having access to the library of operations may use to generate the output from the input.

Patent Agency Ranking