Snapshotmaster · 45bf59d
Two execution paths from Python tensors: immediate eager operations and optimized `tf.function` graphs.
Click a building or route
System map8 components · 9 connections
130%
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal
Terms, in plain English
Eager executionRunning each TensorFlow operation immediately so Python receives concrete tensor results step by step.
How to study this repo
- 1Compare eager with traced calls
Run a tiny function normally and under tf.function, then inspect tracing count and the ConcreteFunction graph operations.
- 2Follow one OpKernel
Choose a simple operation, find its kernel registration, and connect its input tensors and device context to op_kernel.cc.
- 3Observe a graph rewrite
Enable graph optimizer diagnostics and identify one Grappler change before following the optimized node into executor.cc.