code: def _assert_has_ops():
      if not _has_ops():
          raise RuntimeError(
              "Couldn't load custom C++ ops. This can happen if your PyTorch and "
              "torchvision versions are incompatible, or if you had errors while compiling "
              "torchvision from source. For further information on the compatible versions, check "
              "https://github.com/pytorch/vision#installation for the compatibility matrix. "
              "Please check your PyTorch version with torch.__version__ and your torchvision "
              "version with torchvision.__version__ and verify if they are compatible, and if not "
              "please reinstall torchvision so that it matches your PyTorch install."
          )
  
file_path: vision/torchvision/extension.py
imports: import os
  import sys
  import torch
  from ._internally_replaced_utils import _get_extension_path
label_desc: Use image node_id 2 for calling a global function with example usage: _assert_has_ops() without return types