The Big Picture: What TensorFlow Does
- Represents computations as a
graph
ofops
connected bytensors
. - Uses
automatic differentiation
to computegradients
of aloss
with respect tovariables
. - Executes efficiently on different
devices
(CPU/GPU/TPU), scheduling and batching work. - Provides
optimizers
(e.g.,SGD
,Adam
) to update model parameters.
The magic: You describe the forward pass (how outputs are computed). TensorFlow builds enough metadata to compute the backward pass (gradients) automatically.
