code: def filter_vmap_implementable(reg):
      reg = reg.lower()
      if not reg.startswith("aten::"):
          return False
      if reg.startswith("aten::_"):
          return False
      if reg.endswith(".out"):
          return False
      if reg.endswith("_out"):
          return False
      if ".dimname" in reg:
          return False
      if "_dimname" in reg:
          return False
      if "fbgemm" in reg:
          return False
      if "quantize" in reg:
          return False
      if "sparse" in reg:
          return False
      if "::is_" in reg:
          return False
      return True
  
file_path: pytorch/test/functorch/test_vmap_registrations.py
imports: import typing
  import unittest
  from torch.testing._internal.common_utils import TestCase, run_tests, instantiate_parametrized_tests, parametrize, subtest
  from torch._C import _dispatch_get_registrations_for_dispatch_key
label_desc: Use image node_id 2 for calling a global function with example usage: filter_vmap_implementable(reg) and returns: True, False, False, False, False, False, False, False, False, False, False