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):
5353 # Encoder Hidden layer with sigmoid activation #1
5454 layer_1 = tf .nn .sigmoid (tf .add (tf .matmul (x , weights ['encoder_h1' ]),
5555 biases ['encoder_b1' ]))
56- # Decoder Hidden layer with sigmoid activation #2
56+ # Encoder Hidden layer with sigmoid activation #2
5757 layer_2 = tf .nn .sigmoid (tf .add (tf .matmul (layer_1 , weights ['encoder_h2' ]),
5858 biases ['encoder_b2' ]))
5959 return layer_2
6060
6161
6262# Building the decoder
6363def decoder (x ):
64- # Encoder Hidden layer with sigmoid activation #1
64+ # Decoder Hidden layer with sigmoid activation #1
6565 layer_1 = tf .nn .sigmoid (tf .add (tf .matmul (x , weights ['decoder_h1' ]),
6666 biases ['decoder_b1' ]))
6767 # Decoder Hidden layer with sigmoid activation #2
You can’t perform that action at this time.
0 commit comments