IgorSusmelj/pytorch-styleguide
An unofficial style guide and best practices summary for writing PyTorch code.

Not currently ranked — collecting fresh signals.
star history
This repository provides coding conventions and best practices for PyTorch development, covering Python style guidelines, PyTorch-specific recommendations, and reusable building blocks for deep learning components such as self-attention, perceptual loss, and spectral normalization. It includes a CIFAR-10 training example and setup guides for development environments.
Frequently asked
- What is IgorSusmelj/pytorch-styleguide?
- An unofficial style guide and best practices summary for writing PyTorch code.
- Is pytorch-styleguide open source?
- Yes — IgorSusmelj/pytorch-styleguide is open source, released under the GPL-3.0 license.
- What language is pytorch-styleguide written in?
- IgorSusmelj/pytorch-styleguide is primarily written in Python.
- How popular is pytorch-styleguide?
- IgorSusmelj/pytorch-styleguide has 2k stars on GitHub.
- Where can I find pytorch-styleguide?
- IgorSusmelj/pytorch-styleguide is on GitHub at https://github.com/IgorSusmelj/pytorch-styleguide.