This creates a dataset for MNIST labels.

mnist_label_dataset(filenames, compression_type = NULL)

Arguments

filenames

A tf.string tensor containing one or more filenames.

compression_type

A tf.string scalar evaluating to one of "" (no compression), "ZLIB", or "GZIP".