Skip to content

Instantly share code, notes, and snippets.

@arthurtsang
arthurtsang / introrx.md
Created January 31, 2017 19:20 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@arthurtsang
arthurtsang / conv_deconv_variational_autoencoder.py
Created February 14, 2017 06:29 — forked from Newmu/conv_deconv_variational_autoencoder.py
Prototype code of conv/deconv variational autoencoder, probably not runable, lots of inter-dependencies with local codebase =/
import theano
import theano.tensor as T
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
from theano.tensor.signal.downsample import max_pool_2d
from theano.tensor.extra_ops import repeat
from theano.sandbox.cuda.dnn import dnn_conv
from time import time
import numpy as np
from matplotlib import pyplot as plt