-
31.
公开(公告)号:US20230325164A1
公开(公告)日:2023-10-12
申请号:US17717609
申请日:2022-04-11
Applicant: Google LLC
Inventor: Rishabh Singh , Manzil Zaheer
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.
-
公开(公告)号:US20220179625A1
公开(公告)日:2022-06-09
申请号:US17676601
申请日:2022-02-21
Applicant: Google LLC
Inventor: Kensen Shi , Rishabh Singh , David J. Bieber
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.
-
33.
公开(公告)号:US20210383060A1
公开(公告)日:2021-12-09
申请号:US17122313
申请日:2020-12-15
Applicant: Google LLC
Inventor: Rishabh Singh , Aaron Zemach , Chiraag Galaiya , Dima Brezhnev , David Lick , Francisco Velasquez , Max Lin , Neha Bhargava , Peilun Zhang , Rahul Srinivasan , Simon Tong , Victoria Taylor , Vishnu Sivaji , Zifan Xiao
Abstract: Techniques are described herein for automatically synthesizing programs that include one or more functions in a spreadsheet programming language. A method includes: receiving first user input in a first cell in a spreadsheet; automatically synthesizing a program using the first user input in the first cell as a first example, where the program includes at least one function in a spreadsheet programming language and, when the program is executed, the program generates output that matches the first example; determining at least one additional cell in the spreadsheet that is related to the first cell; determining that a display triggering condition is satisfied; and in response to the determining that the display triggering condition is satisfied, displaying, in each of the at least one additional cell, an output of the program corresponding to the additional cell.
-
-