code: def test_all_kernel_dtypes_selected(self):
      yaml_config = """
  include_all_non_op_selectives: True
  """
  
      selector = SelectiveBuilder.from_yaml_str(yaml_config)
  
      self.assertTrue(
          selector.is_kernel_dtype_selected("add_kernel", "int32")
      )
      self.assertTrue(
          selector.is_kernel_dtype_selected("add_kernel", "int8")
      )
      self.assertTrue(
          selector.is_kernel_dtype_selected("add_kernel", "int16")
      )
      self.assertTrue(
          selector.is_kernel_dtype_selected("add1_kernel", "int32")
      )
      self.assertTrue(
          selector.is_kernel_dtype_selected("add_kernel", "float")
      )
  
file_path: pytorch/tools/test/test_selective_build.py
imports: import unittest
  from torchgen.selective_build.operator import *
  from torchgen.model import Location, NativeFunction
  from torchgen.selective_build.selector import combine_selective_builders, SelectiveBuilder
label_desc: Use image node_id 7 for calling the TestSelectiveBuild obj's underlying member method code with example usage: obj.test_all_kernel_dtypes_selected() without return types