code: def recursive_items(dictionary):
      """Yield each (key, value) of a nested dictionary.
  
      Arguments
      ---------
      dictionary : dict
          The nested dictionary to list.
  
      Yields
      ------
      `(key, value)` tuples from the dictionary.
  
      Example
      -------
      >>> rec_dict={'lev1': {'lev2': {'lev3': 'current_val'}}}
      >>> [item for item in recursive_items(rec_dict)]
      [('lev3', 'current_val')]
      """
      for key, value in dictionary.items():
          if type(value) is dict:
              yield from recursive_items(value)
          else:
              yield (key, value)
  
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 5 for calling a global function with example usage: recursive_items(dictionary) without return types