class_docstr: Abstract base class for adversarial attacks. `Attack` represent an
  adversarial attack which search an adversarial example. subclass should
  implement the _apply() method.
  
  Args:
      model(Model): an instance of the class adversarialbox.base.Model.
class_docstr_tok: ["Abstract","base","class","for","adversarial","attacks",".","`","Attack","`","represent","an","adversarial","attack","which","search","an","adversarial","example",".","subclass","should","implement","the","_apply","(",")","method",".","Args",":","model","(","Model",")",":","an","instance","of","the","class","adversarialbox.base.Model","."]
code: def __init__(self, model):
      self.model = model
  
file_path: AdvBox/adversarialbox/attacks/base.py
imports: from builtins import object
  import logging
  from abc import ABCMeta
  from abc import abstractmethod
  import numpy
  from future.utils import with_metaclass
label_desc: Use image node_id 1 to create a new Attack object from inherited base classes:  with example: obj = Attack(model)