code: def test_gpu_instance(
      self,
      unsupported_gpu_instance_class,
      tensorflow_training_version,
      tensorflow_training_py_version,
  ):
      with pytest.raises(ValueError):
          TensorFlow(
              py_version=tensorflow_training_py_version,
              entry_point=SCRIPT_PATH,
              role=ROLE,
              instance_count=INSTANCE_COUNT,
              instance_type=f"ml.{unsupported_gpu_instance_class}.2xlarge",
              framework_version=tensorflow_training_version,
              enable_sagemaker_metrics=False,
              compiler_config=TrainingCompilerConfig(),
          ).fit()
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  from packaging import version
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker import image_uris
  from sagemaker.session_settings import SessionSettings
  from sagemaker.tensorflow import TensorFlow, TrainingCompilerConfig
  from tests.unit.sagemaker.training_compiler import EC2_GPU_INSTANCE_CLASSES
label_desc: Use image node_id 2 for calling the TestUnsupportedConfig obj's underlying member method code with example usage: obj.test_gpu_instance(unsupported_gpu_instance_class, tensorflow_training_version, tensorflow_training_py_version) without return types