code: def non_batch_dims(sample):
      """Returns all dimensons of the specified tensor
      except the batch dimension
  
      Arguments
      ---------
      sample: torch.Tensor
          an arbitrary tensor
  
      Returns
      -------
      dims: list
          a list of dimensions
      """
      return list(range(1, sample.dim()))
  
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 28 for calling a global function with example usage: non_batch_dims(sample) and returns: list