class_docstr: Helper object for computing loudness metrics.
class_docstr_tok: ["Helper","object","for","computing","loudness","metrics","."]
code: def metrics(self):
      return self._metrics
  
imports: import dataclasses
  from absl import logging
  import ddsp
  import librosa
  import mir_eval
  import note_seq
  from note_seq import sequences_lib
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the LoudnessMetrics obj's underlying member method code with example usage: obj.metrics() and returns: self