class_docstr: A MNISTLabelIODataset
class_docstr_tok: ["A","MNISTLabelIODataset"]
docstr: Create a MNISTLabelDataset.
  
  Args:
      filename: A `tf.string` tensor containing filename.
docstr_tok: ["Create","a","MNISTLabelDataset",".","Args",":","filename",":","A","`","tf.string","`","tensor","containing","filename","."]
code: def __init__(self, filename):
      """Create a MNISTLabelDataset.
  
      Args:
          filename: A `tf.string` tensor containing filename.
      """
      _, compression = core_ops.io_file_info(filename)
      dataset = tf.data.FixedLengthRecordDataset(
          filename, 1, header_bytes=8, compression_type=compression
      )
      dataset = dataset.map(lambda e: tf.io.decode_raw(e, tf.uint8))
      dataset = dataset.unbatch()
  
      self._dataset = dataset
      super().__init__(self._dataset._variant_tensor)
  
file_path: io/tensorflow_io/python/ops/mnist_dataset_ops.py
imports: import tensorflow
  from tensorflow_io.python.ops import core_ops
label_desc: Use image node_id 1 to create a new MNISTLabelIODataset object from inherited base classes: tf.data with example: obj = MNISTLabelIODataset(filename)