class_docstr: Base class for returning a dataset.
class_docstr_tok: ["Base","class","for","returning","a","dataset","."]
docstr: DataProvider constructor.
  
  Args:
    sample_rate: Sample rate of audio in the dataset.
    frame_rate: Frame rate of features in the dataset.
code: def __init__(self, sample_rate, frame_rate):
      """DataProvider constructor.
  
      Args:
        sample_rate: Sample rate of audio in the dataset.
        frame_rate: Frame rate of features in the dataset.
      """
      self._sample_rate = sample_rate
      self._frame_rate = frame_rate
  
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 1 to create a new DataProvider object from inherited base classes: object with example: obj = DataProvider(sample_rate, frame_rate)