code: def test_rocm_cuda_info_matches(self):
      build_info = sysconfig_lib.get_build_info()
      self.assertEqual(
          build_info["is_rocm_build"], test.is_built_with_rocm()
      )
      self.assertEqual(
          build_info["is_cuda_build"], test.is_built_with_cuda()
      )
  
file_path: tensorflow/tensorflow/python/platform/sysconfig_test.py
imports: import re
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import sysconfig
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the SysconfigTest obj's underlying member method code with example usage: obj.test_rocm_cuda_info_matches() without return types