Skip to content

[Feature Request] Write tutorials as .py files #628

@vmoens

Description

@vmoens

Motivation

Tutorials would benefit from being written in .py files, as they are in pytorch/tutorials.

The advantages are:

  • fewer linting issues than .ipynb
  • Fewer lines of code
  • less issues with run/non-run cells
  • better integration in doc

Solution

Torch uses notebook styled examples for this.

## Features

The new tutorials should match exactly the old ones in their content. They should appear in the doc in a dedicated section and they should have the colab / download / github banners like https://pytorch.org/tutorials/ have.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions