class_docstr: An `Attacker` will modify an input (e.g., add or delete tokens) to try to change an AllenNLP
  Predictor's output in a desired manner (e.g., make it incorrect).
docstr: Initializes any components of the Attacker that are expensive to compute, so that they are
  not created on __init__().  Default implementation is `pass`.
code: def initialize(self):
      """
      Initializes any components of the Attacker that are expensive to compute, so that they are
      not created on __init__().  Default implementation is `pass`.
      """
      pass
  
file_path: allennlp/allennlp/interpret/attackers/attacker.py
imports: from typing import List
  from allennlp.common import Registrable
  from allennlp.common.util import JsonDict
  from allennlp.predictors import Predictor
label_desc: Use image node_id 2 for calling the Attacker obj's underlying member method code with example usage: obj.initialize() without return types