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: Reset the original.
  
  :param original: Original instance.
  :param original_label: Original instance's label.
docstr_tok: ["Reset","the","original",".",":","param","original",":","Original","instance",".",":","param","original_label",":","Original","instance","'s","label","."]
code: def set_original(self, original, original_label=None):
      """
      Reset the original.
  
      :param original: Original instance.
      :param original_label: Original instance's label.
      """
      if original != self.__original:
          self.__original = original
          self.original_label = original_label
          self.__adversarial_example = None
          self.__bad_adversarial_example = None
      if original is None:
          self.original_label = None
  
file_path: AdvBox/adversarialbox/adversary.py
imports: from builtins import object
  import numpy
  import logging
label_desc: Use image node_id 3 for calling the Adversary obj's underlying member method code with example usage: obj.set_original(original, original_label) without return types