class_docstr: A simple class for handling the ImageNet data set.
class_docstr_tok: ["A","simple","class","for","handling","the","ImageNet","data","set","."]
docstr: Returns the number of classes in the data set.
docstr_tok: ["Returns","the","number","of","classes","in","the","data","set","."]
code: def num_classes(self):
      """Returns the number of classes in the data set."""
      return 1000
  
file_path: magenta/magenta/models/image_stylization/imagenet_data.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the ImagenetData obj's underlying member method code with example usage: obj.num_classes() and returns: int