Skip to content
项目

关于

PyTorch 入门,涵盖张量初始化、运算、索引和形状变换。

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
-1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

LinkedIn Substack X Youtube Topmate

PyTorch Fundamentals: Your First Steps into Hands-on Deep Learning

Overview

Introduction to PyTorch fundamentals, covering tensor initialization, operations, indexing, and reshaping.

image

Install Dependencies

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.

Contents

  • 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

Code Notebook

Dive into the hands-on examples in this interactive Jupyter notebook.

Newsletter

📌 Join 10,000+ ML enthusiasts and professionals from 150+ countries.
✅ Learn AI for FREE with visuals, easy-to-follow insights.
✅ Get cutting-edge topics like GenAI, RAGs, and LLMs in your inbox every week.

Subscribe to AwesomeNeuron Newsletter

AwesomeNeuron Newsletter

Blog Post

Read the full breakdown and insights in the accompanying blog post.

Contributing

We welcome contributions from the community! If you have an addition or improvement to suggest:

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/PytorchTopic
  3. Commit your changes: git commit -m 'Add some PytorchTopic'
  4. Push to the branch: git push origin feature/PytorchTopic
  5. Open a pull request

License

This project is licensed under MIT License


⭐️ If you find this repository helpful, please consider giving it a star!

Keywords: AI, Machine Learning, Deep Learning, PyTorch, Generative AI, LLMs, AI Agents

探索相关项目

加载中…