karpathy / karpathy/micrograd

seems to be an issue with return statements in _radd and _rmul inside engine.py

Open
#82 1 comment 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

Based on the video, if I am not mistaken, _radd and _rmul are supposed to flip the return values to other+self.
the reverse function is to address the condition where a scalar precedes the operators

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.