计算机科学 > 程序设计语言
[提交于 2024年3月14日]
标题:JaxDecompiler: Redefining Gradient-Informed Software Design
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Among numerical libraries capable of computing gradient descent optimization, JAX stands out by offering more features, accelerated by an intermediate representation known as Jaxpr language. However, editing the Jaxpr code is not directly possible. This article introduces JaxDecompiler, a tool that transforms any JAX function into an editable Python code, especially useful for editing the JAX function generated by the gradient function. JaxDecompiler simplifies the processes of reverse engineering, understanding, customizing, and interoperability of software developed by JAX. We highlight its capabilities, emphasize its practical applications especially in deep learning and more generally gradient-informed software, and demonstrate that the decompiled code speed performance is similar to the original.
提交历史
来自:Pierrick Pochelu PhD[v1] 2024年3月14日 星期四 20:32:31 UTC