class_docstr: Base class for evaluators.
class_docstr_tok: ["Base","class","for","evaluators","."]
docstr: Sets sample and frame rates, not known in gin initialization.
docstr_tok: ["Sets","sample","and","frame","rates",",","not","known","in","gin","initialization","."]
code: def set_rates(self, sample_rate, frame_rate):
      """Sets sample and frame rates, not known in gin initialization."""
      self._sample_rate = sample_rate
      self._frame_rate = frame_rate
  
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 2 for calling the BaseEvaluator obj's underlying member method code with example usage: obj.set_rates(sample_rate, frame_rate) without return types