TensorFlow Eager:一个用于机器学习的多阶段Python嵌入式DSL
TensorFlow Eager: A Multi-Stage, Python-Embedded DSL for Machine Learning
摘要:
TensorFlow Eager是一种多阶段的Python嵌入式领域特定语言,用于硬件加速的机器学习,适用于交互式研究和生产。TensorFlow Eager扩展的TensorFlow要求用户将计算表示为递归图;这允许编译器优化并简化部署,但阻碍了快速原型和运行时动态性。TensorFlow Eager消除了这些可用性成本,同时又不牺牲图形带来的好处:它为TensorFlow提供了一个命令式前端,可以立即执行操作,并提供了一个JIT跟踪器,可以将由TensorFlow操作组成的Python函数转换为可执行的递归图。因此,TensorFlow Eager提供了一个多阶段编程模型,可以在单个包中轻松地在命令式执行和分段执行之间进行插值。
英文摘要:
TensorFlow Eager is a multi-stage, Python-embedded domain-specific language for hardware-accelerated machine learning, suitable for both interactive research and production. TensorFlow, which TensorFlow Eager extends, requires users to represent computations as dataflow graphs; this permits compiler optimizations and simplifies deployment but hinders rapid prototyping and run-time dynamism. TensorFlow Eager eliminates these usability costs without sacrificing the benefits furnished by graphs: It provides an imperative front-end to TensorFlow that executes operations immediately and a JIT tracer that translates Python functions composed of TensorFlow operations into executable dataflow graphs. TensorFlow Eager thus offers a multi-stage programming model that makes it easy to interpolate between imperative and staged execution in a single package.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。