Skip to content

Instantly share code, notes, and snippets.

View CubeFlix's full-sized avatar

Kevin Chen CubeFlix

View GitHub Profile
@CubeFlix
CubeFlix / autodiff.py
Created September 3, 2023 01:49
Node-based auto-differentiation engine in Python.
"""
An auto-differentiation engine.
Written by cubeflix (https://github.com/cubeflix).
"""
from enum import Enum
from typing import List, Dict
from numbers import Number