code: def graviton_framework_uri(
      repo,
      fw_version,
      account,
      py_version="py38",
      processor="cpu",
      region=REGION,
      container_version="ubuntu20.04-sagemaker",
  ):
      domain = ALTERNATE_DOMAINS.get(region, DOMAIN)
      tag = "-".join(
          x
          for x in (
              fw_version,
              processor,
              py_version,
              container_version,
          )
          if x
      )
  
      return IMAGE_URI_FORMAT.format(account, region, domain, repo, tag)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/image_uris/expected_uris.py
imports: from __future__ import absolute_import
label_desc: Use image node_id 6 for calling a global function with example usage: graviton_framework_uri(repo, fw_version, account, py_version, processor, region, container_version) and returns: IMAGE_URI_FORMAT