awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jcjohnson avatar

jcjohnson/pytorch-examples

0
View on GitHub↗
4,872 Stars·917 Forks·Python·mit·0 Aufrufe

Pytorch Examples

This repository provides a curated collection of self-contained Python code examples that demonstrate the core capabilities of the PyTorch deep learning framework. The examples cover automatic differentiation, dynamic computational graphs, GPU‑accelerated tensor operations, and training of neural network models using gradient‑based optimization.

The code samples illustrate PyTorch’s dynamic graph construction, where models can change structure with native control flow, and its automatic gradient computation through reverse‑mode differentiation. Additional examples show how to work with tensors on both CPU and GPU, define custom neural network layers using the module system, and apply optimizers such as SGD, Adam, and RMSProp. The collection also includes tutorials on building computational graphs and training loops, making it a practical reference for learning PyTorch’s essential features.

Features

  • Learning Examples - Provides a curated collection of self-contained PyTorch code examples for learning.
  • Automatic Differentiation - Computes gradients automatically via computational graph and backpropagation.
  • Custom Neural Network Layers - Creates custom neural network layers with learnable parameters via subclassing.
  • Dynamic Graph Builders - Illustrates dynamic computational graphs built on-the-fly with native Python control flow.
  • Tensor Computing Libraries - Demonstrates performing tensor operations on GPUs for accelerated numerical computation.
  • Neural Network Layers - Shows how to construct neural networks using pre-built layers like dense and convolutional ones.
  • Neural Network Modules - Demonstrates creating custom neural network layers by subclassing PyTorch's Module class.
  • Neural Network Training - Trains neural networks by defining models, computing gradients, and applying optimizers.
  • Neural Network Optimizers - Provides examples of training neural networks with various optimizers including SGD, Adam, and RMSProp.
  • Reverse-Mode Differentiation - Implements reverse-mode automatic differentiation for computing gradients via backpropagation.
  • Stochastic Gradient Descent Optimizations - Applies stochastic gradient descent and Adam optimizers to minimize loss functions.
  • GPU-Accelerated Processing - Enables GPU-accelerated tensor operations via CUDA backend for parallel computation.
  • Neural Network Module Abstractions - Provides module-based abstractions for encapsulating neural network layers and parameters.
  • Eager Execution Modes - Demonstrates eager execution mode for immediate evaluation and debugging.
  • GPU Tensor Mapping - Demonstrates GPU tensor mapping and computation with code samples.
  • Custom Autograd Functions - Defines custom autograd functions with user-specified forward and backward operations.
  • Model Training Optimizers - Illustrates training loops with optimizers like SGD and Adam.
  • Tutorials - Listed in the “Tutorials” section of the The Incredible Pytorch awesome list.

Star-Verlauf

Star-Verlauf für jcjohnson/pytorch-examplesStar-Verlauf für jcjohnson/pytorch-examples

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht jcjohnson/pytorch-examples?

This repository provides a curated collection of self-contained Python code examples that demonstrate the core capabilities of the PyTorch deep learning framework. The examples cover automatic differentiation, dynamic computational graphs, GPU‑accelerated tensor operations, and training of neural network models using gradient‑based optimization.

Was sind die Hauptfunktionen von jcjohnson/pytorch-examples?

Die Hauptfunktionen von jcjohnson/pytorch-examples sind: Learning Examples, Automatic Differentiation, Custom Neural Network Layers, Dynamic Graph Builders, Tensor Computing Libraries, Neural Network Layers, Neural Network Modules, Neural Network Training.

Welche Open-Source-Alternativen gibt es zu jcjohnson/pytorch-examples?

Open-Source-Alternativen zu jcjohnson/pytorch-examples sind unter anderem: d2l-ai/d2l-en — This project is an educational platform and research toolkit designed to teach deep learning through a combination of… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… ml-explore/mlx — This project is a machine learning array framework and tensor computation library designed for high-performance… flashlight/flashlight — Flashlight is a standalone C++ machine learning library and tensor library used for building and training neural… morvanzhou/pytorch-tutorial — This project is a collection of PyTorch learning resources and educational guides designed to teach the construction… morvanzhou/tensorflow-tutorial — This project is a collection of educational resources and reference implementations for neural network development…

Open-Source-Alternativen zu Pytorch Examples

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Pytorch Examples.
  • d2l-ai/d2l-enAvatar von d2l-ai

    d2l-ai/d2l-en

    29,001Auf GitHub ansehen↗

    This project is an educational platform and research toolkit designed to teach deep learning through a combination of mathematical theory, visual diagrams, and executable code. It provides a comprehensive environment for building, training, and evaluating neural networks, grounding complex concepts in interactive computational notebooks that allow for hands-on experimentation. The framework distinguishes itself by interleaving theoretical foundations—including linear algebra, calculus, and probability—with practical implementations across multiple industry-standard libraries. It supports flex

    Pythonbookcomputer-visiondata-science
    Auf GitHub ansehen↗29,001
  • tingsongyu/pytorch_tutorialAvatar von TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Auf GitHub ansehen↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    Auf GitHub ansehen↗8,018
  • ml-explore/mlxAvatar von ml-explore

    ml-explore/mlx

    27,047Auf GitHub ansehen↗

    This project is a machine learning array framework and tensor computation library designed for high-performance numerical computing. It provides a comprehensive suite of tools for constructing and training neural networks, featuring an automatic differentiation engine that facilitates gradient-based optimization and complex mathematical modeling. The library distinguishes itself through a unified memory architecture that allows data to be shared across CPU and GPU devices without explicit copies, significantly reducing data movement overhead. Its execution model relies on a lazy evaluation en

    C++mlx
    Auf GitHub ansehen↗27,047
  • flashlight/flashlightAvatar von flashlight

    flashlight/flashlight

    5,443Auf GitHub ansehen↗

    Flashlight is a standalone C++ machine learning library and tensor library used for building and training neural networks. It functions as a comprehensive neural network framework and automatic differentiation engine, providing the tools to construct computation graphs and calculate gradients via backpropagation. The project serves as a distributed training framework, utilizing all-reduce operations to synchronize gradients and parameters across multiple compute nodes and devices. It distinguishes itself through deep integration of high-performance tensor manipulation, native device memory in

    C++
    Auf GitHub ansehen↗5,443
  • Alle 30 Alternativen zu Pytorch Examples anzeigen→