class_docstr: LibSVMIODataset
code: def __init__(
      self,
      filename,
      num_features,
      dtype=None,
      label_dtype=None,
      compression_type="",
      internal=True,
  ):
      if not internal:
          raise ValueError(
              "LibSVMIODataset constructor is private; please use one "
              "of the factory methods instead (e.g., "
              "IODataset.from_pcap())"
          )
      with tf.name_scope("LibSVMIODataset"):
          dataset = tf.data.TextLineDataset(
              filename, compression_type=compression_type
          )
          dataset = dataset.batch(1).map(
              lambda e: decode_libsvm(
                  e, num_features, dtype, label_dtype
              )
          )
  
          self._dataset = dataset
          super().__init__(self._dataset._variant_tensor)
  
imports: import tensorflow
  from tensorflow_io.python.experimental.text_ops import decode_libsvm
label_desc: Use image node_id 1 to create a new LibSVMIODataset object from inherited base classes: tf.data with example: obj = LibSVMIODataset(filename, num_features, dtype, label_dtype, compression_type, internal)