code: def testBuildInfo(self):
      self.assertEqual(
          build_info.build_info["is_rocm_build"],
          test.is_built_with_rocm(),
      )
      self.assertEqual(
          build_info.build_info["is_cuda_build"],
          test.is_built_with_cuda(),
      )
  
      # TODO(b/173044576): make the test work for Windows.
      if platform.system() != "Windows":
          # pylint: disable=g-import-not-at-top
          from tensorflow.compiler.tf2tensorrt._pywrap_py_utils import (
              is_tensorrt_enabled,
          )
  
          self.assertEqual(
              build_info.build_info["is_tensorrt_build"],
              is_tensorrt_enabled(),
          )
  
imports: import platform
  from tensorflow.python.platform import build_info
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the BuildInfoTest obj's underlying member method code with example usage: obj.testBuildInfo() without return types