class_docstr: Model class for CleverHans library.
class_docstr_tok: ["Model","class","for","CleverHans","library","."]
code: def __init__(self, nb_classes=None, num_classes=None):
      if num_classes is not None:
          if nb_classes is not None:
              raise ValueError(
                  "Should not specify both nb_classes and its deprecated"
                  " alias, num_classes"
              )
          warnings.warn(
              "`num_classes` is deprecated. Switch to `nb_classes`."
              " `num_classes` may be removed on or after 2019-04-23."
          )
          nb_classes = num_classes
      del num_classes
      self.nb_classes = nb_classes
      self.built = False
  
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 1 to create a new InceptionModel object from inherited base classes: object with example: obj = InceptionModel(nb_classes, num_classes)