Tensors: The Things That Flow
A tensor
is a container for numbers with a shape
(like [batch, height, width, channels]
for images).
rank
: number of dimensions (scalar=0D, vector=1D, matrix=2D, etc.).dtype
: numeric type (float32
,int32
, …).
Mental model: a tensor is a spreadsheet that can have many tabs (dimensions). Ops know how to broadcast and combine them.
