See tensors.

Study decks

Every topic on See tensors., organised into decks. Open one to see what it covers, then learn it with flashcards, quizzes and spaced review. Subscribe to a deck to keep it in your study plan and track how well you know it.

22 decks220 topics4 subject areas

Before the workshop

0% complete

2 decksSee all : Before the workshop

Check the linear algebra the workshop builds on, then set up your runtime and meet the nine real datasets.

  • Prerequisites - Linear Algebra
    Unit 1

    Prerequisites - Linear Algebra

    23 topics

    Not started

    Vectors, matrices, norms, eigenvalues, the SVD, the pseudoinverse and PCA: the linear algebra the tensors workshop builds on, from Deep Learning, Ch. 2.

  • 00 · Setup and Welcome
    Unit 2

    00 · Setup and Welcome

    13 topics

    Not started

    The four words you need before the workshop starts, the nine real datasets it runs on, and the shapes you will meet all day.

Parts I–III · Reading tensors

0% complete

5 decksSee all : Parts I–III · Reading tensors

What a tensor is, what every axis counts, and how to index, broadcast, reshape and transpose real data without silent bugs.

  • 01 · What a Tensor Is
    Unit 1

    01 · What a Tensor Is

    12 topics

    Not started

    The vocabulary the whole workshop runs on — tensor, axis, order, shape, slice, fiber, unfolding, contraction — and the two meanings of “rank”.

  • 02 · Thinking in N Dimensions
    Unit 2

    02 · Thinking in N Dimensions

    6 topics

    Not started

    Read every axis as a question: what does this axis count? Batch against time, the five axis letters, and padding with a validity mask.

  • 03 · Indexing and Broadcasting Real Data
    Unit 3

    03 · Indexing and Broadcasting Real Data

    9 topics

    Not started

    Select by name, not by number. Fancy indexing, Boolean masks, broadcasting — and the zero-variance pixels that make NaN a finding, not a bug.

  • 04 · Reshape and Transpose Real Images
    Unit 4

    04 · Reshape and Transpose Real Images

    7 topics

    Not started

    Changing a tensor’s shape is not the same as moving its axes. HWC, CHW, NHWC, NCHW — and the reshape that runs without error and scrambles the image.

  • 05 · Video Pipeline Design
    Unit 5

    05 · Video Pipeline Design

    8 topics

    Not started

    Every pipeline decision chooses what information is kept, transformed or discarded. Shapes at five stages, sampling loss, and where a camera axis goes.

Part IV · Contract, solve, factorize

0% complete

7 decksSee all : Part IV · Contract, solve, factorize

einsum, the pseudoinverse, recursion, matrix factorizations, Tucker and the tensor factorizations, then the idea that connects them.

  • 06 · Contraction with einsum
    Unit 1

    06 · Contraction with einsum

    9 topics

    Not started

    One rule: an index that disappears after the arrow is summed over. Grayscale, trace, matrix products and a 1797x1797 similarity matrix, all in one syntax.

  • 07 · Inverses and the Pseudoinverse
    Unit 2

    07 · Inverses and the Pseudoinverse

    8 topics

    Not started

    Does an exact inverse exist? If not, what useful answer does the pseudoinverse give instead? Solved on 20,433 real California housing districts.

  • 08 · Recursion with Matrices and Vectors
    Unit 3

    08 · Recursion with Matrices and Vectors

    6 topics

    Not started

    Use the current state to create the next state, then repeat. Fibonacci, power iteration and a real airline forecast — the structure of a recurrent network.

  • 09 · Matrix Factorizations
    Unit 4

    09 · Matrix Factorizations

    9 topics

    Not started

    Which factorization do I reach for, and what does it cost? LU, QR, Cholesky, eigendecomposition, SVD and NMF, each asked the same two questions.

  • 10 · Tucker Decomposition on Real Data
    Unit 5

    10 · Tucker Decomposition on Real Data

    10 topics

    Not started

    PCA generalized to every axis. One factor matrix per mode plus a small core — and a real taxi tensor whose hour factor peaks at the evening rush.

  • 11 · Tensor Factorizations
    Unit 6

    11 · Tensor Factorizations

    9 topics

    Not started

    CP, Tucker, Tensor Train and t-SVD: four bargains about which structure to keep. Choose the method from the structure, then the rank from the loss.

  • 12 · Wrap-Up and Take-Homes
    Unit 7

    12 · Wrap-Up and Take-Homes

    7 topics

    Not started

    The idea connecting the workshop, five take-homes (PCA, attention, CP, Cholesky, audio denoising) and the four deep dives opened live.

Deep dives

0% complete

8 decksSee all : Deep dives

The live labs and take-home deep dives: convolution, CP by hand, generalized CP, PCA from tensors, multi-head attention, feature compression, CP or Tucker in practice, and AlphaTensor.

  • 13 · Convolution and Deconvolution
    Unit 1

    13 · Convolution and Deconvolution

    10 topics

    Not started

    Correlation, convolution, transposed convolution, deconvolution: one kernel, four operations, and a real blurred photograph partly recovered.

  • 14 · CP Factorization and the Rank-1 View
    Unit 2

    14 · CP Factorization and the Rank-1 View

    10 topics

    Not started

    A CP component is one vector per axis. Fit it by alternating least squares, keep it non-negative, and watch neural trials sort by a label CP never saw.

  • 15 · Generalized CP for Counts and Binary Data
    Unit 3

    15 · Generalized CP for Counts and Binary Data

    11 topics

    Not started

    Squared error is an assumption. Swap in a Poisson or Bernoulli loss, fit real Chicago crime counts, and catch a component that is an artifact of the file.

  • 16 · PCA from a Tensors Perspective
    Unit 4

    16 · PCA from a Tensors Perspective

    11 topics

    Not started

    Covariance, correlation, eigenvectors and SVD on real satellite patches; does PCA help a classifier? Then multilinear PCA and a spiked tensor signal.

  • 17 · Multi-Head Attention
    Unit 5

    17 · Multi-Head Attention

    10 topics

    Not started

    Split Q, K and V into heads without losing a token: reshape then transpose, scores over keys, √D_k, merging back, and why shape tests lie.

  • 18 · Feature Compression
    Unit 6

    18 · Feature Compression

    10 topics

    Not started

    Compress a feature map by truncated SVD of an unfolding: rank-k reconstruction, energy as squared amplitude, factor storage, and what 95% misses.

  • 19 · CP or Tucker in Practice
    Unit 7

    19 · CP or Tucker in Practice

    11 topics

    Not started

    CP or Tucker? One object separates them, the core. A knowledge graph, a ResNet-18 kernel and a photo show why CP compresses and Tucker predicts.

  • 20 · AlphaTensor: Multiplying Matrices as a Game
    Unit 8

    20 · AlphaTensor: Multiplying Matrices as a Game

    11 topics

    Not started

    Matrix multiplication is a tensor of 0s and 1s, and every exact CP split into R terms is an algorithm with R multiplications. Strassen, TensorGame, AlphaTensor.