Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
๐
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Broadcast, tensor product, reshape
ยท
Module 1
Manipulating Tensor Shapes and Memory
1
Tensor Basics: Shape, Rank, and Data Types
Define a tensor and inspect its shape, rank (number of axes), and data type.
2
Tensor Views vs. Copies
Explain the difference between a tensor view and a copy in memory.
3
Reshaping Tensors
Use reshape, squeeze, and unsqueeze to alter tensor dimensions.
4
View vs. Copy: Reshaping Arrays
Predict whether a reshaping operation will produce a view or a copy.
5
Tensor Axis Reordering with Transpose and Permute
Use transpose and permute to reorder tensor axes.
6
Flatten vs. Ravel: View vs. Copy Behavior
Apply flatten and ravel to a tensor and explain the difference in their view vs. copy behavior.
Next module isn't ready yet,
Back to course
Previous module
Next module