about
TensorFlow Eager (arxiv.org)
4 points by one-more-minute on Mar 9, 2019 | hide | past | pdf | discuss on HN

In plain words: Normally TensorFlow makes you build a computation graph before running it, which is awkward for quick experiments. Eager runs each operation right away like plain Python, then traces a function into graph form so it stays fast and easy to ship.

Abstract · TensorFlow Eager: A Multi-Stage, Python-Embedded DSL for Machine Learning

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.

Akshay Agrawal, Akshay Naresh Modi, Alexandre Passos, Allen Lavoie, Ashish Agarwal, Asim Shankar, Igor Ganichev, Josh Levenberg, Mingsheng Hong, Rajat Monga, Shanqing Cai
arXiv:1903.01855 · cs.PL, cs.LG · submitted Feb 27, 2019
abstract · pdf · html

add comment on HN