For teaching
Lessons, labs and grading, ready for a class.
Ten lessons, marked labs, one-step grading.
For teachingA desktop app for Windows
Every block is real PyTorch code, and it runs on your computer.



Blocks become code
Choose a block, and its line lights up.
8class MyFirstCNN(nn.Module):9"""My first CNN: 105,866 trainable parameters."""1011def __init__(self):12super().__init__()13self.conv2d_1 = nn.Conv2d(1, 16, kernel_size=3, padding=1)14self.relu_1 = nn.ReLU()15self.maxpool2d_1 = nn.MaxPool2d(2)
Three proofs
See what one layer makes of a batch of digits.
![Run to this block on a Conv2d: for one training batch, the inspector shows the output shape [64, 16, 28, 28], its lowest, highest and mean values, a histogram, and the 16 feature maps of the first sample, each a differently filtered handwritten 5.](/_astro/run-to-block-light.BhQnx77o.png)
![Run to this block on a Conv2d: for one training batch, the inspector shows the output shape [64, 16, 28, 28], its lowest, highest and mean values, a histogram, and the 16 feature maps of the first sample, each a differently filtered handwritten 5.](/_astro/run-to-block-light.BhQnx77o.png)
![Run to this block on a Conv2d: for one training batch, the inspector shows the output shape [64, 16, 28, 28], its lowest, highest and mean values, a histogram, and the 16 feature maps of the first sample, each a differently filtered handwritten 5.](/_astro/run-to-block-dark.Bf-4tZae.png)
The loss chart draws live as it trains.



98.5% right on MNIST, with the wrong ones first.



The Windows app is getting ready for its first release.