class_docstr: Model class for CleverHans library.
class_docstr_tok: ["Model","class","for","CleverHans","library","."]
docstr: Constructs model and return probabilities for given input.
docstr_tok: ["Constructs","model","and","return","probabilities","for","given","input","."]
code: def __call__(self, x_input):
      """Constructs model and return probabilities for given input."""
      reuse = True if self.built else None
      with slim.arg_scope(inception.inception_v3_arg_scope()):
          _, end_points = inception.inception_v3(
              x_input,
              num_classes=self.nb_classes,
              is_training=False,
              reuse=reuse,
          )
      self.built = True
      output = end_points["Predictions"]
      # Strip off the extra reshape op at the output
      probs = output.op.inputs[0]
      return probs
  
file_path: cleverhans/cleverhans_v3.1.0/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/attack_fgsm.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import warnings
  import numpy
  import tensorflow
  from tensorflow.contrib.slim.nets import inception
  from PIL import Image
  from cleverhans.attacks import FastGradientMethod
label_desc: Use image node_id 2 for calling the InceptionModel obj's underlying member method code with example usage: obj.__call__(x_input) and returns: probs