code: def _assert_model_name_match(
      sagemaker_client, endpoint_config_name, model_name
  ):
      endpoint_config_description = (
          sagemaker_client.describe_endpoint_config(
              EndpointConfigName=endpoint_config_name
          )
      )
      assert (
          model_name
          == endpoint_config_description["ProductionVariants"][0][
              "ModelName"
          ]
      )
  
imports: from __future__ import absolute_import
  import numpy
  import os
  import time
  import pytest
  from sagemaker.serverless import ServerlessInferenceConfig
  from sagemaker.tensorflow import TensorFlow, TensorFlowProcessor, TensorFlowModel
  from sagemaker.utils import unique_name_from_base, sagemaker_timestamp
  import tests.integ
  from tests.integ import DATA_DIR, TRAINING_DEFAULT_TIMEOUT_MINUTES, kms_utils, timeout
  from tests.integ.retry import retries
  from tests.integ.utils import gpu_list, retry_with_instance_list
  from tests.integ.s3_utils import assert_s3_file_patterns_exist
  from packaging.version import Version
label_desc: Use image node_id 15 for calling a global function with example usage: _assert_model_name_match(sagemaker_client, endpoint_config_name, model_name) without return types