code: def assert_torch_installed():
      assert (
          torch_installed()
      ), "To use Hummingbird you need to install torch>1.7.0."
  
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 2 for calling a global function with example usage: assert_torch_installed() without return types