code: def dist_stats(sample, mask=None):
      """Returns standard distribution statistics (mean, std, min, max)
  
  
      Arguments
      ---------
      samples: torch.Tensor
          a tensor of spectrograms
  
      mask: torch.Tensor
          a length mask
  
      Returns
      -------
      result: torch.Tensor
          a tensor fo means
      """
      return {
          "mean": masked_mean(sample, mask),
          "std": masked_std(sample, mask),
          "min": masked_min(sample, mask),
          "max": masked_max(sample, mask),
      }
  
imports: import math
  import os
  import re
  import csv
  import shutil
  import urllib.request
  import collections.abc
  import torch
  import tqdm
  import pathlib
  import speechbrain
  from numbers import Number
label_desc: Use image node_id 33 for calling a global function with example usage: dist_stats(sample, mask) and returns: dict