跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1810.08061 (cs)
[提交于 2018年10月16日 (v1),最后修订于 2019年3月26日 (此版本, v2)]

标题:AutoGraph: Imperative-style Coding with Graph-based Performance

作者:Dan Moldovan, James M Decker, Fei Wang, Andrew A Johnson, Brian K Lee, Zachary Nado, D Sculley, Tiark Rompf, Alexander B Wiltschko
查看论文《AutoGraph: Imperative-style Coding with Graph-based Performance》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:There is a perceived trade-off between machine learning code that is easy to write, and machine learning code that is scalable or fast to execute. In machine learning, imperative style libraries like Autograd and PyTorch are easy to write, but suffer from high interpretive overhead and are not easily deployable in production or mobile settings. Graph-based libraries like TensorFlow and Theano benefit from whole-program optimization and can be deployed broadly, but make expressing complex models more cumbersome. We describe how the use of staged programming in Python, via source code transformation, offers a midpoint between these two library design patterns, capturing the benefits of both. A key insight is to delay all type-dependent decisions until runtime, via dynamic dispatch. We instantiate these principles in AutoGraph, a software system that improves the programming experience of the TensorFlow library, and demonstrate usability improvements with no loss in performance compared to native TensorFlow graphs. We also show that our system is backend agnostic, and demonstrate targeting an alternate IR with characteristics not found in TensorFlow graphs.
主题: 程序设计语言 (cs.PL); 机器学习 (cs.LG); 机器学习 (stat.ML)
引用方式: arXiv:1810.08061 [cs.PL]
  (或者 arXiv:1810.08061v2 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1810.08061

提交历史

来自:Andrew Johnson
[v1] 2018年10月16日 星期二 19:14:09 UTC
[v2] 2019年3月26日 星期二 19:19:51 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-03
切换浏览方式为:
cs
cs.LG
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站