Introduction to PyTorch fundamentals, covering tensor initialization, operations, indexing, and reshaping.
pip install -r requirements.txt
If you're installing torch with CUDA support, make sure to use the correct installation command from PyTorch's official website, as some versions require a specific installation method.
- What are Tensors?
- Tensor Initialization
- Common Tensor Initialization Methods
- Tensor Type Conversion
- Converting Between NumPy Arrays and Tensors
- Tensor Mathematics and Comparison Operations
- Matrix Multiplication and Batch Operations
- Broadcasting and Other Useful Operations
- Tensor Indexing
- Tensor Reshaping
Dive into the hands-on examples in this interactive Jupyter notebook.
Read the full breakdown and insights in the accompanying blog post.
- Fork the repo
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is licensed under MIT License