def _create_supervised_test_node(self):

        with tf.name_scope("test"):
            self.model_predictions = tf.argmax(self.softmax_out, 1)
            correct_prediction = tf.equal(self.model_predictions, tf.argmax(self.input_labels, 1))
            self.accuracy = tf.reduce_mean(tf.cast(correct_prediction, "float"))
            _ = tf.scalar_summary('accuracy', self.accuracy)
Create the test node of the network.
dataset/ETHPy150Open blackecho/Deep-Learning-TensorFlow/models/autoencoder_models/stacked_denoising_autoencoder.py/StackedDenoisingAutoencoder._create_supervised_test_node