code: def test_retrieve_processor_type_neo(config_for_framework):
      for cpu in ("ml_m4", "ml_m5", "ml_c4", "ml_c5"):
          uri = image_uris.retrieve(
              framework="useless-string",
              version="1.0.0",
              py_version="py3",
              instance_type=cpu,
              region="us-west-2",
              image_scope="training",
          )
          assert (
              "123412341234.dkr.ecr.us-west-2.amazonaws.com/dummy:1.0.0-cpu-py3"
              == uri
          )
  
      for gpu in ("ml_p2", "ml_p3"):
          uri = image_uris.retrieve(
              framework="useless-string",
              version="1.0.0",
              py_version="py3",
              instance_type=gpu,
              region="us-west-2",
              image_scope="training",
          )
          assert (
              "123412341234.dkr.ecr.us-west-2.amazonaws.com/dummy:1.0.0-gpu-py3"
              == uri
          )
  
      config = copy.deepcopy(BASE_CONFIG)
      config["processors"] = ["inf"]
      config_for_framework.return_value = config
  
      uri = image_uris.retrieve(
          framework="useless-string",
          version="1.0.0",
          py_version="py3",
          instance_type="ml_inf1",
          region="us-west-2",
          image_scope="training",
      )
      assert (
          "123412341234.dkr.ecr.us-west-2.amazonaws.com/dummy:1.0.0-inf-py3"
          == uri
      )
  
      config = copy.deepcopy(BASE_CONFIG)
      config["processors"] = ["c5"]
      config_for_framework.return_value = config
  
      uri = image_uris.retrieve(
          framework="useless-string",
          version="1.0.0",
          py_version="py3",
          instance_type="ml_c5",
          region="us-west-2",
          image_scope="training",
      )
      assert (
          "123412341234.dkr.ecr.us-west-2.amazonaws.com/dummy:1.0.0-c5-py3"
          == uri
      )
  
imports: from __future__ import absolute_import
  import copy
  import logging
  import pytest
  from mock import patch
  from sagemaker import image_uris
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.parameters import ParameterString
label_desc: Use image node_id 16 for calling a global function with example usage: test_retrieve_processor_type_neo(config_for_framework) without return types