code: def _require_pytorch_version(
      torch_version, max_torch_version="2.0.0"
  ):
      try:
          import torch
          from distutils.version import LooseVersion
  
          if LooseVersion(torch.__version__) < LooseVersion(
              torch_version
          ) or LooseVersion(torch.__version__) >= LooseVersion(
              max_torch_version
          ):
              version_str = ">={},<{}".format(
                  torch_version, max_torch_version
              )
              msg = (
                  "Legacy torch=={0} detected, some modules may not work properly. "
                  "torch{1} is required. You can use pip or conda to upgrade".format(
                      torch.__version__, version_str
                  )
              )
              raise RuntimeError(msg)
      except ImportError as ex:
          raise ImportError(
              "Unable to import dependency pytorch. Please use pip or conda to install."
          ) from ex
  
label_desc: Use image node_id 2 for calling a global function with example usage: _require_pytorch_version(torch_version, max_torch_version) without return types