class_docstr: The Jacobian-based Saliency Map Method (Papernot et al. 2016).
  Paper link: https://arxiv.org/pdf/1511.07528.pdf
  
  :param model: cleverhans.model.Model
  :param sess: optional tf.Session
  :param dtypestr: dtype of the data
  :param kwargs: passed through to super constructor
  
  :note: When not using symbolic implementation in `generate`, `sess` should
         be provided
class_docstr_tok: ["The","Jacobian-based","Saliency","Map","Method","(","Papernot","et","al",".","2016",")",".","Paper","link",":","https",":","\/\/arxiv.org\/pdf\/1511.07528.pdf",":","param","model",":","cleverhans.model.Model",":","param","sess",":","optional","tf.Session",":","param","dtypestr",":","dtype","of","the","data",":","param","kwargs",":","passed","through","to","super","constructor",":","note",":","When","not","using","symbolic","implementation","in","`","generate","`",",","`","sess","`","should","be","provided"]
docstr: Create a SaliencyMapMethod instance.
  Note: the model parameter should be an instance of the
  cleverhans.model.Model abstraction provided by CleverHans.
docstr_tok: ["Create","a","SaliencyMapMethod","instance",".","Note",":","the","model","parameter","should","be","an","instance","of","the","cleverhans.model.Model","abstraction","provided","by","CleverHans","."]
code: def __init__(self, model, sess=None, dtypestr="float32", **kwargs):
      """
      Create a SaliencyMapMethod instance.
      Note: the model parameter should be an instance of the
      cleverhans.model.Model abstraction provided by CleverHans.
      """
  
      super(SaliencyMapMethod, self).__init__(
          model, sess, dtypestr, **kwargs
      )
  
      self.feedable_kwargs = ("y_target",)
      self.structural_kwargs = [
          "theta",
          "gamma",
          "clip_max",
          "clip_min",
          "symbolic_impl",
      ]
  
file_path: cleverhans/cleverhans_v3.1.0/cleverhans/attacks/saliency_map_method.py
imports: import warnings
  import numpy
  from six.moves import xrange
  import tensorflow
  from cleverhans.attacks.attack import Attack
  from cleverhans.compat import reduce_sum, reduce_max, reduce_any
label_desc: Use image node_id 1 to create a new SaliencyMapMethod object from inherited base classes: Attack with example: obj = SaliencyMapMethod(model, sess, dtypestr)