code: def test_retrieve_pytorch_container_version():
      uri = image_uris.retrieve(
          framework="pytorch",
          region="us-west-2",
          version="1.6",
          py_version="py3",
          instance_type="ml.p4d.24xlarge",
          image_scope="training",
      )
      assert (
          "763104351884.dkr.ecr.us-west-2.amazonaws.com/pytorch-training:1.6-gpu-py3-cu110-ubuntu18.04-v3"
          == 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 20 for calling a global function with example usage: test_retrieve_pytorch_container_version() without return types