forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Tensor and Operator Basics
Maksim Levental edited this page Aug 16, 2021
·
3 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
PyTorch presented to you with love by the PyTorch Team of contributors
- Install Prerequisites and Dependencies
- Fork, clone, and checkout the PyTorch source
- Build PyTorch from source
- Tips for developing PyTorch
- PyTorch Workflow Git cheatsheet
- Overview of the Pull Request Lifecycle
- Finding Or Creating Issues
- Pre Commit Checks
- Create a Pull Request
- Typical Pull Request Workflow
- Pull Request FAQs
- Getting Help
- Codebase structure
- Tensors, Operators, and Testing
- Autograd
- Dispatcher, Structured Kernels, and Codegen
- torch.nn
- CUDA basics
- Data (Optional)
- function transforms (Optional)