code: def get_accuracy(y_pred, y):
      accuracy = np.sum(
          np.argmax(y_pred, axis=1) == np.argmax(y, axis=1)
      ) / len(y)
      return round(accuracy * 100, 2)
  
file_path: adversarial-robustness-toolbox/examples/get_started_inverse_gan.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import tensorflow
  from art.estimators.classification import TensorFlowClassifier
  from art.defences.preprocessor.inverse_gan import InverseGAN
  from art.estimators.encoding.tensorflow import TensorFlowEncoder
  from art.estimators.generation.tensorflow import TensorFlowGenerator
  from art.utils import load_mnist
  from art.attacks.evasion import FastGradientMethod
  from examples.inverse_gan_author_utils import EncoderReconstructor, GeneratorReconstructor
label_desc: Use image node_id 4 for calling a global function with example usage: get_accuracy(y_pred, y) and returns: round