Skip to content

Instantly share code, notes, and snippets.

View myme5261314's full-sized avatar

Peng Liu myme5261314

  • Pingan Tech (Shenzhen)
  • Shenzhen, China
View GitHub Profile
@myme5261314
myme5261314 / rbm_MNIST_test.py
Last active April 10, 2020 06:59
RBM procedure using tensorflow
import tensorflow as tf
import numpy as np
import input_data
import Image
from util import tile_raster_images
def sample_prob(probs):
return tf.nn.relu(
tf.sign(