-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Tensor and Operator Basics
Richard Zou edited this page Jun 15, 2021
·
4 revisions
- Understand what an operator is in PyTorch
- Understand what a Tensor is (including stride, dtype, and layout)
- Understand what views are
- Understand how to author an operator in PyTorch
- Understand how to test operators in PyTorch
- Understand what TensorIterator is
A Tensor consists of:
- data_ptr, a pointer to a chunk of memory
- some sizes metadata
- some strides metadata
- a storage offset
Coming soon