class_docstr: Base class for reading datasets from TensorFlow Datasets (TFDS).
class_docstr_tok: ["Base","class","for","reading","datasets","from","TensorFlow","Datasets","(","TFDS",")","."]
docstr: Read dataset.
  
  Args:
    shuffle: Whether to shuffle the input files.
  
  Returns:
    dataset: A tf.data.Dataset that reads from TFDS.
code: def get_dataset(self, shuffle=True):
      """Read dataset.
  
      Args:
        shuffle: Whether to shuffle the input files.
  
      Returns:
        dataset: A tf.data.Dataset that reads from TFDS.
      """
      return tfds.load(
          self._name,
          data_dir=self._data_dir,
          split=self._split,
          shuffle_files=shuffle,
          download=False,
      )
  
imports: import os
  from absl import logging
  from ddsp.spectral_ops import CREPE_FRAME_SIZE
  from ddsp.spectral_ops import CREPE_SAMPLE_RATE
  from ddsp.spectral_ops import get_framed_lengths
  import gin
  import tensorflow.compat.v2
  import tensorflow_datasets
label_desc: Use image node_id 2 for calling the TfdsProvider obj's underlying member method code with example usage: obj.get_dataset(shuffle) and returns: tfds