class_docstr: FGSM is a one-step method. "The Basic Iterative Method (BIM)" iteratively
  take multiple small steps while adjusting the direction after each step.
  Paper link: https://arxiv.org/abs/1607.02533
class_docstr_tok: ["FGSM","is","a","one-step","method",".","``","The","Basic","Iterative","Method","(","BIM",")","''","iteratively","take","multiple","small","steps","while","adjusting","the","direction","after","each","step",".","Paper","link",":","https",":","\/\/arxiv.org\/abs\/1607.02533"]
code: def __init__(self, model):
      super(BasicIterativeMethodAttack, self).__init__(model, False)
  
imports: from __future__ import division
  from builtins import range
  import logging
  from collections import Iterable
  import numpy
  from .base import Attack
  from functools import reduce
label_desc: Use image node_id 1 to create a new BasicIterativeMethodAttack object from inherited base classes: IterativeLeastLikelyClassMethodAttack with example: obj = BasicIterativeMethodAttack(model)