code: def get_dataset_stats(dataset):
      """Get stats about dataset based on src_lengths of samples"""
      max_len = 0
      min_len = 100000
      avg_len = 0
      for d in dataset:
          max_len = max(max_len, d["net_input"]["src_lengths"].item())
          min_len = min(min_len, d["net_input"]["src_lengths"].item())
          avg_len += d["net_input"]["src_lengths"].item()
  
      return max_len, min_len, avg_len / len(dataset)
  
imports: from fairseq import tasks
  import numpy
  import logging
  import random
  from fairseq import options
  import torch
  import os
  import soundfile
  from fairseq.data.audio.audio_utils import get_waveform, parse_path
label_desc: Use image node_id 11 for calling a global function with example usage: get_dataset_stats(dataset) and returns: max_len,  min_len,  unknown