/dezero-from-scratch

Learning Deep Learning Framework (DeZero)

Primary LanguagePythonMIT LicenseMIT

DeZero from Scratch

Image from Gyazo

This repository is a learning record of rebuilding DeZero completely from scratch. Compared to the original implementation, the following differences are introduced:

  • Uses uv, a fast Python package manager
  • Adds type hints for better readability and tooling support
  • Resolves type errors with Pyright checking
  • No GPU support, to keep the code simple and easy to follow

Setup

git clone https://github.com/sql-hkr/dezero-from-scratch.git
cd dezero-from-scratch
uv venv
source .venv/bin/activate
uv sync