import tensorflow as tf

        target_label = sess.run(labels)
        adv = attack_carlini.attack(input_data, target_label)

        (logits_part_nor, logits_part_adv, labels_part) = sess.run([logits_nor, logits_adv, tf.argmax(labels, 1)],
                                                                   feed_dict={adv_image: adv})
        logits_all = np.concatenate((logits_all, logits_part_nor), axis=0)
