class_docstr: This is a fast implementation of "Feature Adversaries", an attack
  against a target internal representation of a model.
  "Feature adversaries" were originally introduced in (Sabour et al. 2016),
  where the optimization was done using LBFGS.
  Paper link: https://arxiv.org/abs/1511.05122
  
  This implementation is similar to "Basic Iterative Method"
  (Kurakin et al. 2016) but applied to the internal representations.
  
  :param model: cleverhans.model.Model
  :param sess: optional tf.Session
  :param dtypestr: dtype of the data
  :param kwargs: passed through to super constructor
class_docstr_tok: ["This","is","a","fast","implementation","of","``","Feature","Adversaries","''",",","an","attack","against","a","target","internal","representation","of","a","model",".","``","Feature","adversaries","''","were","originally","introduced","in","(","Sabour","et","al",".","2016",")",",","where","the","optimization","was","done","using","LBFGS",".","Paper","link",":","https",":","\/\/arxiv.org\/abs\/1511.05122","This","implementation","is","similar","to","``","Basic","Iterative","Method","''","(","Kurakin","et","al",".","2016",")","but","applied","to","the","internal","representations",".",":","param","model",":","cleverhans.model.Model",":","param","sess",":","optional","tf.Session",":","param","dtypestr",":","dtype","of","the","data",":","param","kwargs",":","passed","through","to","super","constructor"]
docstr: Create a FastFeatureAdversaries instance.
docstr_tok: ["Create","a","FastFeatureAdversaries","instance","."]
code: def __init__(self, model, sess=None, dtypestr="float32", **kwargs):
      """
      Create a FastFeatureAdversaries instance.
      """
      super(FastFeatureAdversaries, self).__init__(
          model, sess, dtypestr, **kwargs
      )
      self.feedable_kwargs = ("eps", "eps_iter", "clip_min", "clip_max")
      self.structural_kwargs = ["ord", "nb_iter", "layer"]
  
      assert isinstance(self.model, Model)
  
file_path: cleverhans/cleverhans_v3.1.0/cleverhans/attacks/fast_feature_adversaries.py
imports: import warnings
  import numpy
  import tensorflow
  from cleverhans.attacks.attack import Attack
  from cleverhans.compat import reduce_sum
  from cleverhans.model import Model
  from cleverhans.utils_tf import clip_eta
label_desc: Use image node_id 1 to create a new FastFeatureAdversaries object from inherited base classes: Attack with example: obj = FastFeatureAdversaries(model, sess, dtypestr)