nowfound

AI · February 3, 2026

Reimplementing PyTorch from scratch (MLP, CNN) to learn the internals

Implement classic neural networks from scratch without using nn.Module, to deeply understand PyTorch and model principles. - geyuxu/nn-from-scratch

Reimplementing PyTorch from scratch (MLP, CNN) to learn the internals launched on February 3, 2026 with 5 votes, #1,882 of 16,627 launches that month and more than 75% of that year's launches.

Visit github.com ↗Alternativestop 11% of February 2026

What it does

"What I cannot create, I do not understand." — Richard Feynman This project implements classic neural network architectures (MLP, CNN) without using torch.nn.Module . The goal is to demystify the "black box" of Deep Learning. By rebuilding layers like Linear , Conv2d , and MaxPool2d using only raw tensors and Autograd, we can visualize the math behind the magic. # The "Magic" Way import torch . nn as nn model = nn . Linear ( 10 , 1 ) # What actually happens here? This repo does: # The "From Scratch" Way (What we build) import torch class MyLinear : def __init__ ( self , in_features , out_features ): # We manually initialize weights and bias self . weights = torch . randn ( out_features ,…from github.com

Does a similar job

all alternatives →
  • I built a deep learning engine from scratch in Python2025 · github.com · ▲30

    I’ve spent the last few months building a deep learning engine completely from scratch in Python (using only math and random). What started as a basic linear algebra calculator project grew into a symbolic tensor system with autodiff, custom matrix ops, attention mechanisms, LayerNorm, GELU, and even a text generation demo trained on the Brown corpus. I'm still an undergrad, so my main goal is to deeply understand how deep learning actually works under the hood - gradients, attention, backpropagation, optimizers - by building it step-by-step with full visibility into everything, and without…

  • I'm 15 and built a neural network from scratch in C++,just math2025 · github.com · ▲8

    I’m 15 and self-taught. I'm learning ML from scratch because I want to really understand how things work. I’m not into frameworks. I prefer math, logic, and C++. I implemented a basic MLP that supports different activation and loss functions. It was trained via mini-batch gradient descent. I wrote it from scratch, using no external libraries except Eigen (for linear algebra). I learned how a Neural Network learns (all the math) -- how the forward pass works, and how learning via backpropagation works. How to convert all that math into code. I’ll write a blog soon explaining how MLPs work in…

  • Neural networks tutorial series with code2020 · github.com · ▲107

    The simplest form of an artificial neural network explained and demonstrated. - GitHub - gokadin/ai-simplest-network: The simplest form of an artificial neural network explained and demonstrated.

  • AV
    A Visual and Interactive Guide to the Basics of Neural Networks2016 · jalammar.github.io · ▲63

    Discussions: Hacker News (63 points, 8 comments), Reddit r/programming (312 points, 37 comments) Translations: Arabic, French, Spanish Update: Part 2 is now live: A Visual And Interactive Look at Basic Neural Network Math Motivation I’m not a machine learning expert. I’m a software engineer by train

  • N5
  • Deep Learning Framework from scratch (60 step tutorial)2022 · koki0702.github.io · ▲40

    Want to create a Deep Learning framework from scratch? Checkout this resource: https://koki0702.github.io/dezero-book/en/index.html In this book, you will create a deep learning framework called "DeZero" from scratch (from zero), which is the original framework of this book. With minimal code, the framework's modern features are realized. In this book, you will make this small - yet powerful enough - framework in a total of 60 steps. It will deepen your knowledge of modern frameworks such as PyTorch and TensorFlow.

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 18d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 18d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 19d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 21d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

  • Beam.win▲377

    Run AI agents on one Mac and use its windows on another

    AI · 4d ago · beam.win

Source: Show HN post ↗

Launched alongside, February 2026

the whole month →
  • Rork Max▲1,428

    Best AI for iOS apps. Website that replaces Xcode

    Life & fun · Feb 2026 · rork.com

  • happycapy▲1,365

    The agent-native computer, for the rest of us

    AI · Feb 2026 · happycapy.ai

  • SuperX▲897

    All-in-one growth OS for serious 𝕏 creators

    AI · Feb 2026 · superx.so

  • KiloClaw▲868

    Hosted OpenClaw. No Mac mini required.

    Dev tools · Feb 2026 · kilo.ai

  • Feel closer and have more fun with your partner every day!

    AI · Feb 2026 · lovon.app

  • Hello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986. It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.

    Work · Feb 2026 · wallstreetraider.com