code: def _compare_labels(test_case, labels, reference_labels):
      test_case.assertTrue(
          np.allclose(labels["start"], reference_labels["start"])
      )
      test_case.assertTrue(
          np.allclose(labels["end"], reference_labels["end"])
      )
      test_case.assertTrue(
          (labels["label"] == reference_labels["label"]).all()
      )
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.features import Activations
  from madmom.features.chords import *
  from madmom.io import load_chords
  from .None import ACTIVATIONS_PATH, AUDIO_PATH, DETECTIONS_PATH
label_desc: Use image node_id 1 for calling a global function with example usage: _compare_labels(test_case, labels, reference_labels) without return types