code: def test_model_image_accelerator(
      retrieve_image_uri,
      repack_model,
      tar_and_upload,
      sagemaker_session,
      mxnet_eia_version,
      mxnet_eia_py_version,
  ):
      model = MXNetModel(
          MODEL_DATA,
          role=ROLE,
          entry_point=SCRIPT_PATH,
          framework_version=mxnet_eia_version,
          py_version=mxnet_eia_py_version,
          sagemaker_session=sagemaker_session,
      )
      container_def = model.prepare_container_def(
          INSTANCE_TYPE, accelerator_type=ACCELERATOR_TYPE
      )
      assert container_def["Image"] == IMAGE
      assert _is_mms_version(mxnet_eia_version) ^ (
          tar_and_upload.called and not repack_model.called
      )
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, ANY
  from mock import patch
  from pkg_resources import parse_version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.drift_check_baselines import DriftCheckBaselines
  from sagemaker.metadata_properties import MetadataProperties
  from sagemaker.model_metrics import FileSource, MetricsSource, ModelMetrics
  from sagemaker.mxnet import defaults
  from sagemaker.mxnet import MXNet
  from sagemaker.mxnet import MXNetPredictor, MXNetModel
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 19 for calling a global function with example usage: test_model_image_accelerator(retrieve_image_uri, repack_model, tar_and_upload, sagemaker_session, mxnet_eia_version, mxnet_eia_py_version) without return types