karpathy / karpathy/micrograd

type annotation lacking/ maybe also add docstrings.

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
17.6k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

I think micrograd.nn would be easier to understand if the function signatures have type annotation. The backwards compatability of type annotation is limited, but it seems likely very few people will use micrograd with python < 3.8. I'm happy to help with this.

Also docstrings might be helpful for people studying the code.

I followed 'The spelled-out intro to neural networks and backpropagation: building micrograd' on YouTube and am grateful to Andrej for making this. Learned al lot!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.