← Back to CoursesTensorFlow & AI Programming: Beginner

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

What a Tensor Is

Manual: General · Subject: TensorFlow & AI Programming

Explain tensors as the basic data structure used throughout TensorFlow.

Tensors: The Building Blocks

Tensor meaning

A tensor is a general way to represent data as numbers arranged in one or more dimensions. A scalar is a single number, a vector is a 1D list of numbers, and a matrix is a 2D grid of numbers.

Why tensors matter

Machine learning systems need a standard way to handle data like images, sound, tables, and text features. Tensors provide that structure, and TensorFlow is designed to work with them efficiently.

Tensor shapes

Data typeExample shapeMeaning
Scalar()()One number
Vector(3,)(3,)Three values in a row
Matrix(2,3)(2,3)Two rows and three columns
Image batch(32,28,28,1)(32, 28, 28, 1)32 grayscale images of size 28 by 28
🔑

Shape Matters

The shape of a tensor tells you how the data is organized, which is crucial when building models.

Which best describes a tensor?

What do we call a 2D tensor?

Why is tensor shape important?