class_docstr: Computes audio samples and losses.
class_docstr_tok: ["Computes","audio","samples","and","losses","."]
code: def __init__(self, sample_rate, frame_rate):
      super().__init__(sample_rate, frame_rate)
      self._avg_losses = {}
  
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 BasicEvaluator object from inherited base classes: BaseEvaluator with example: obj = BasicEvaluator(sample_rate, frame_rate)