File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/3_NeuralNetworks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ def encoder(x):
53
53
# Encoder Hidden layer with sigmoid activation #1
54
54
layer_1 = tf .nn .sigmoid (tf .add (tf .matmul (x , weights ['encoder_h1' ]),
55
55
biases ['encoder_b1' ]))
56
- # Decoder Hidden layer with sigmoid activation #2
56
+ # Encoder Hidden layer with sigmoid activation #2
57
57
layer_2 = tf .nn .sigmoid (tf .add (tf .matmul (layer_1 , weights ['encoder_h2' ]),
58
58
biases ['encoder_b2' ]))
59
59
return layer_2
60
60
61
61
62
62
# Building the decoder
63
63
def decoder (x ):
64
- # Encoder Hidden layer with sigmoid activation #1
64
+ # Decoder Hidden layer with sigmoid activation #1
65
65
layer_1 = tf .nn .sigmoid (tf .add (tf .matmul (x , weights ['decoder_h1' ]),
66
66
biases ['decoder_b1' ]))
67
67
# Decoder Hidden layer with sigmoid activation #2
You can’t perform that action at this time.
0 commit comments