class_docstr: Evaluates F0s created with TWM heuristic.
class_docstr_tok: ["Evaluates","F0s","created","with","TWM","heuristic","."]
code: def __init__(
      self,
      sample_rate,
      frame_rate,
      processor_name="sinusoidal",
      noisy=False,
  ):
      super().__init__(sample_rate, frame_rate)
      self._noisy = noisy
      self._processor_name = processor_name
      self._f0_twm_metrics = metrics.F0Metrics(
          sample_rate=sample_rate, frame_rate=frame_rate, name="f0_twm"
      )
  
imports: import ddsp
  from ddsp.training import heuristics
  from ddsp.training import metrics
  from ddsp.training import summaries
  import gin
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 1 to create a new TWMEvaluator object from inherited base classes: BaseEvaluator with example: obj = TWMEvaluator(sample_rate, frame_rate, processor_name, noisy)