class_docstr: Adversary contains the original object, the target and the adversarial
  example.
class_docstr_tok: ["Adversary","contains","the","original","object",",","the","target","and","the","adversarial","example","."]
docstr: The perturbation that the adversarial_example is added.
  
  :param multiplying_factor: float.
  :return: The perturbation that is multiplied by multiplying_factor.
docstr_tok: ["The","perturbation","that","the","adversarial_example","is","added",".",":","param","multiplying_factor",":","float",".",":","return",":","The","perturbation","that","is","multiplied","by","multiplying_factor","."]
code: def perturbation(self, multiplying_factor=1.0):
      """
      The perturbation that the adversarial_example is added.
  
      :param multiplying_factor: float.
      :return: The perturbation that is multiplied by multiplying_factor.
      """
      assert self.__original is not None
      assert (self.__adversarial_example is not None) or (
          self.__bad_adversarial_example is not None
      )
      if self.__adversarial_example is not None:
          return multiplying_factor * (
              self.__adversarial_example - self.__original
          )
      else:
          return multiplying_factor * (
              self.__bad_adversarial_example - self.__original
          )
  
file_path: AdvBox/adversarialbox/adversary.py
imports: from builtins import object
  import numpy
  import logging
label_desc: Use image node_id 7 for calling the Adversary obj's underlying member method code with example usage: obj.perturbation(multiplying_factor) and returns: unknown, unknown