code: def generate(self, x, **kwargs):
      
      # Parse and save attack-specific parameters
      assert self.parse_params(**kwargs)
  
      labels, _nb_classes = self.get_or_guess_labels(x, kwargs)
  
      return fgm(
          x,
          self.model.get_logits(x),
          y=labels,
          eps=self.eps,
          ord=self.ord,
          clip_min=self.clip_min,
          clip_max=self.clip_max,
          targeted=(self.y_target is not None),
          sanity_checks=self.sanity_checks)
docs: Returns the graph for Fast Gradient Method adversarial examples.
  
      :param x: The model's symbolic inputs.
      :param kwargs: See `parse_params`