{"id":17044396,"url":"https://github.com/srush/autodiff-puzzles","last_synced_at":"2025-05-16T07:03:56.616Z","repository":{"id":62330673,"uuid":"559684438","full_name":"srush/Autodiff-Puzzles","owner":"srush","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-18T20:24:33.000Z","size":4465,"stargazers_count":425,"open_issues_count":4,"forks_count":29,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-08T16:08:21.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-30T21:19:57.000Z","updated_at":"2025-04-06T16:08:12.000Z","dependencies_parsed_at":"2024-10-18T16:54:16.036Z","dependency_job_id":"fbb1b259-19fc-404e-b88f-6a756deddf73","html_url":"https://github.com/srush/Autodiff-Puzzles","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"ae4586b052f3328031ad64024edabbf6fbd2e4bb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FAutodiff-Puzzles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FAutodiff-Puzzles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FAutodiff-Puzzles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FAutodiff-Puzzles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srush","download_url":"https://codeload.github.com/srush/Autodiff-Puzzles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485053,"owners_count":22078767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:34:17.605Z","updated_at":"2025-05-16T07:03:56.596Z","avatar_url":"https://github.com/srush.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autodiff Puzzles\n- by [Sasha Rush](http://rush-nlp.com) - [srush_nlp](https://twitter.com/srush_nlp)\n\n**Click here to get started:**\n\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/srush/Autodiff-Puzzles/blob/main/autodiff_puzzlers.ipynb)\n\nThis notebook contains a series of self-contained puzzles for learning about derivatives in tensor libraries. It is the 3rd puzzle set in a series of puzzles about programming for deep learning ([Tensor Puzzles](https://github.com/srush/Tensor-Puzzles), [GPU Puzzles](https://github.com/srush/GPU-Puzzles)).\n\n![image](https://github.com/user-attachments/assets/be04dea0-a15c-4d7d-b2d5-263c171d0f35)\n\n\nYour goal in these puzzles is to implement the derivatives for each core function. In each case the function takes in a tensor x and returns a tensor f(x), so your job is to compute $\\frac{d f(x)_o}{dx_i}$ for all indices $o$ and $i$. If you get discouraged, just remember, you did this in high school (it just had way less indexing).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Fautodiff-puzzles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrush%2Fautodiff-puzzles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Fautodiff-puzzles/lists"}