code: def test_retrieve_processor_type(config_for_framework):
      for cpu in (
          "local",
          "ml.t2.medium",
          "ml.m5.xlarge",
          "ml.r5.large",
      ):
          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 ("local_gpu", "ml.p3.2xlarge", "ml.g4dn.xlarge"):
          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
          )
  
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 15 for calling a global function with example usage: test_retrieve_processor_type(config_for_framework) without return types