code: def check_dumped_versions(configurations, *args):
      """
      When a model is loaded this function is used to check that the versions of the modules used at saving time match with the version at loading time.
      """
      configurations = [
          configuration.strip() for configuration in configurations
      ]
      versions = {
          version.split("=")[0]: version.split("=")[1]
          for version in configurations
      }
      if len(versions) != len(args):
          warnings.warn(
              "Loaded model contains an unexpected number of versions. You are probably loading a model coming from a different Hummingbird version."
          )
  
      for current_version in args:
          assert isinstance(current_version, ModuleType)
          if current_version.__name__ in versions:
              loaded_version = versions[current_version.__name__]
              if parse(loaded_version) != parse(
                  current_version.__version__
              ):
                  warnings.warn(
                      "Version of {} used to save the model ({}) is different than the current version ({}).".format(
                          current_version.__name__,
                          loaded_version,
                          current_version.__version__,
                      )
                  )
          else:
              warnings.warn(
                  "Module {} expected but not found. You are probably loading a model from a different version of Hummingbird.".format(
                      current_version.__name__
                  )
              )
  
imports: from packaging.version import Version, parse
  from types import ModuleType
  import numpy
  import torch
  import os
  import warnings
  import shutil
  from hummingbird.ml.exceptions import ConstantError
label_desc: Use image node_id 26 for calling a global function with example usage: check_dumped_versions(configurations) without return types