/yagrad

yet another scalar autograd engine - featuring complex numbers and fixed DAG

Primary LanguagePythonMIT LicenseMIT

yagrad - Yet Another Grad

Yet another scalar autograd engine based on micrograd.

Featuring

  • Complex numbers (for grad calculation)
  • Fixed DAG (no objects allocated during training)
  • Only 100 lines of code

Install

No installation required

Run

python train.py

Why

Educational purposes

Credits