Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Eager: CPU Performance/Operation Overheads #14130
(This applies only when eager execution has been enabled via
Eager execution re-uses most of the same Python code used for constructing TensorFlow graphs. Many of these paths have not been optimized for part of the critical path of computation. As a result, the CPU overheads of executing Python code for every operation are higher than we’d like.
Consequently, the performance of eager execution on models with many small computations, or models executed on CPU may be dominated by these overheads.