Skip to content

Instantly share code, notes, and snippets.

@ekzhang
ekzhang / README.md
Last active January 29, 2024 22:44
Python runtime library bindings for Maelstrom (https://github.com/jepsen-io/maelstrom), starter files used by Harvard Systems Reading Group — This library has been merged upstream

Gossip Glomers

Welcome! You can create your first file with the following command:

cp echo.py YOURNAME-echo.py

Then run the simulator environment with:

@sradc
sradc / autodiff.py
Last active November 13, 2024 14:11
Automatic Differentiation in 26 lines of Python
import math
class Var:
def __init__(self, val: float, local_gradients=()):
self.val = val
self.local_gradients = local_gradients
self.grad = 0
def backward(self, path_value: float = 1):
for child_var, local_gradient in self.local_gradients:
@yk
yk / dimple_test.ipynb
Created June 26, 2021 12:19
dimple_test.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xdralex
xdralex / checklist.md
Created April 19, 2021 13:39
ML/DL/CS Checklist

Deep Learning

concepts

  • forward and backward propagation
  • vanishing gradient
  • image convolution operation
  • feature map, filter/kernel
  • receptive field
  • embedding
  • translation invariance