import tensorflow as tf

                self.training_op = tf.compat.v1.train.AdamOptimizer(self.learning_rate).minimize(self.loss)

            # Perf metrics
            with tf.name_scope("accuracy"):
                prediction = tf.equal(tf.argmax(self.fc2, 1), tf.argmax(self.y, 1))
                self.accuracy = tf.reduce_mean(tf.cast(prediction, tf.float32))


