Skip to content

Commit fc06dbc

Browse files
tiny update
1 parent f506d49 commit fc06dbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unsupervised_class2/rbm_tf.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def build(self, D, M):
3232

3333
# data
3434
self.X_in = tf.placeholder(tf.float32, shape=(None, D))
35-
# self.X_sample_pl = tf.placeholder(tf.float32, shape=(None, D))
3635

3736
# conditional probabilities
3837
# NOTE: tf.contrib.distributions.Bernoulli API has changed in Tensorflow v1.2
@@ -71,7 +70,7 @@ def build(self, D, M):
7170
)
7271
)
7372

74-
def fit(self, X, learning_rate=0.1, epochs=1, batch_sz=100, show_fig=False):
73+
def fit(self, X, epochs=1, batch_sz=100, show_fig=False):
7574
N, D = X.shape
7675
n_batches = N // batch_sz
7776

0 commit comments

Comments
 (0)