Skip to content
← All tracks

Tensor Foundations

PyTorch

The basics of working with tensors — shapes, indexing, broadcasting, and the operations you'll reach for daily.

0 / 7 solved
  1. 1. Not solved yet. Create a Tensor from a List
  2. 2. Not solved yet. Reshape a Tensor
  3. 3. Not solved yet. Transpose a Matrix
  4. 4. Not solved yet. Broadcasting Addition
  5. 5. Not solved yet. Tensor Indexing and Slicing
  6. 6. Not solved yet. Masked Fill
  7. 7. Not solved yet. Concatenate Tensors

Check yourself

4 questions · one attempt each

These do not count toward finishing the track. They are here to catch the things that are easy to read past.

0 / 4

What is in a tensor from torch.empty(3)?

torch.empty(3)
torch.zeros(3)
Question 1 of 4