class_docstr: Class for reading TFRecords and returning a dataset.
class_docstr_tok: ["Class","for","reading","TFRecords","and","returning","a","dataset","."]
docstr: Dictionary of features to read from dataset.
code: def features_dict(self):
      """Dictionary of features to read from dataset."""
      return {
          "audio": tf.io.FixedLenFeature(
              [self._audio_length], dtype=tf.float32
          ),
          "f0_hz": tf.io.FixedLenFeature(
              [self._feature_length], dtype=tf.float32
          ),
          "f0_confidence": tf.io.FixedLenFeature(
              [self._feature_length], dtype=tf.float32
          ),
          "loudness_db": tf.io.FixedLenFeature(
              [self._feature_length], dtype=tf.float32
          ),
      }
  
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 for calling the LegacyTFRecordProvider obj's underlying member method code with example usage: obj.features_dict() and returns: dict