0PricingLogin
Deep Learning Academy · Lesson

Matrix Multiply with matmul and @

The dot products behind every layer.

Beyond Elementwise

Multiplying tensors with the star sign is elementwise. Matrix multiplication is different: it mixes rows and columns into weighted sums.

Dot Products in Bulk

Each output entry of a matrix multiply is a dot product: one row of the left matrix paired with one column of the right matrix.

All lessons in this course

  1. Why Loops Are Slow for Math
  2. Elementwise Ops & Reductions
  3. Matrix Multiply with matmul and @
  4. Dot Products Power Every Layer
← Back to Deep Learning Academy