Skip to content

Instantly share code, notes, and snippets.

Avatar

Peng Liu myme5261314

  • Pingan Tech (Shenzhen)
  • Shenzhen, China
View GitHub Profile
@myme5261314
myme5261314 / rbm_MNIST_test.py
Last active Apr 10, 2020
RBM procedure using tensorflow
View rbm_MNIST_test.py
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(