Adapting existing source code snippets to new contexts
AssigneeGoogle Inc.
InventorsQianyu Zhang, Bin Ni, Rishabh Singh, Olivia Hatalsky
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorsQianyu Zhang, Bin Ni, Rishabh Singh, Olivia Hatalsky
Estimating the term…
Implementations are described herein for adapting existing source code snippets to new contexts. In various implementations, a command may be detected to incorporate an existing source code snippet into destination source code. An embedding may be generated based on the existing source code snippet, e.g., by processing the existing source code snippet using an encoder. The destination source code may be processed to identify one or more decoder constraints. Subject to the one or more decoder constraints, the embedding may be processed using a decoder to generate a new version of the existing source code snippet that is adapted to the destination source code.
A method implemented using one or more processors, comprising:
A method implemented using one or more processors, comprising:
A method implemented using one or more processors, comprising:
A system comprising one or more processors and memory storing instructions that, in response to execution by the one or more processors, cause the one or more processors to:
A system comprising one or more processors and memory storing instructions that, in response to execution by the one or more processors, cause the one or more processors to:
A system comprising one or more processors and memory storing instructions that, in response to execution by the one or more processors, cause the one or more processors to:
At least one non-transitory computer-readable medium comprising instructions that, in response to execution by one or more processors, cause the one or more processors to:
At least one non-transitory computer-readable medium comprising instructions that, in response to execution by one or more processors, cause the one or more processors to:
Dependencies are inferred from the claim text.