-
Book Overview & Buying
-
Table Of Contents
Modern Computer Architecture and Organization - Third Edition
By :
Tensors are a fundamental building block for graphics and AI computations. In graphics, they efficiently represent pixel arrays, transformation matrices, and color channels, supporting complex scene rendering and lighting calculations. In AI, tensors store the inputs, weights, and activations of neural networks, allowing large-scale matrix and vector operations to proceed in parallel. Familiarity with tensor operations is essential for understanding how GPUs leverage their specialized hardware to accelerate both visual and machine-learning workloads.
A scalar is a single number, such as your age or the balance in a checking account. A vector is either a row or a column of numbers. The point position P of Equation 10.1 is a three-element column vector. A collection of numbers arranged in a rectangular grid is a matrix, such as the rotation matrix R of Equation 10.3.
It is also possible to organize a collection of numbers into a three-dimensional shape. For example, an...