class_docstr: Base class for returning a dataset.
class_docstr_tok: ["Base","class","for","returning","a","dataset","."]
docstr: Return dataset sample rate, must be defined in the constructor.
code: def sample_rate(self):
      """Return dataset sample rate, must be defined in the constructor."""
      return self._sample_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 2 for calling the DataProvider obj's underlying member method code with example usage: obj.sample_rate() and returns: self