AI Hardware & Software Stack
Which describes the computational graph used by AI frameworks and compilers?
- AA line chart of AI performance by year
- BA chart showing how the training loss changes
- CA representation of a model's computation with operations as nodes and tensor flows as edges
Show answer and explanation
Answer: C. A representation of a model's computation with operations as nodes and tensor flows as edges
A computational graph is a blueprint of a model's computation, with operations such as matrix products, additions and activations as nodes and the tensors flowing between them as edges. Frameworks traverse it backward to compute backpropagation gradients automatically, and compilers optimize it as a whole through fusion and reordering. The graph also shows which operations are independent and can run in parallel.
- A. It is not a statistical chart.
- B. It is different from a loss curve.
- C. Correct. It underpins optimization and automatic differentiation.