code: def getOverlap(a, b):
      """get the overlapped length of two intervals
  
      Arguments
      ---------
      a : list
      b : list
  
      Returns:
          float: overlapped length
  
      Example
      -------
      >>> from speechbrain.utils.EDER import getOverlap
      >>> interval1=[1.2, 3.4]
      >>> interval2=[2.3, 4.5]
      >>> getOverlap(interval1, interval2)
      1.1
      """
      return max(0, min(a[1], b[1]) - max(a[0], b[0]))
  
label_desc: Use image node_id 2 for calling a global function with example usage: getOverlap(a, b) and returns: max