class_docstr: Fashion MNIST.
code: def generator(self, data_dir, tmp_dir, is_training):
      if is_training:
          return fashion_mnist_generator(tmp_dir, True, 60000)
      else:
          return fashion_mnist_generator(tmp_dir, False, 10000)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gzip
  import os
  import random
  import numpy
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import image_utils
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the ImageFashionMnist obj's underlying member method code with example usage: obj.generator(data_dir, tmp_dir, is_training) and returns: fashion_mnist_generator, fashion_mnist_generator