Skip to content

Instantly share code, notes, and snippets.

View craffel's full-sized avatar

Colin Raffel craffel

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ynd
ynd / equi.py
Last active November 17, 2022 09:41
import numpy
import theano
from theano import tensor as T
from theano.sandbox import rng_mrg
class EquiSGD(object):
"""Equilibrated SGD (eSGD).
Parameters