code: def get_cuda_compute_capability(source_from_url=False):
      """Retrieves CUDA compute capability based on the detected GPU type.
  
      This function uses the `cuda_compute_capability` module to retrieve the
      corresponding CUDA compute capability for the given GPU type.
  
      Args:
        source_from_url: Boolean deciding whether to source compute capability
                         from NVIDIA website or from a local golden file.
  
      Returns:
        List of all supported CUDA compute capabilities for the given GPU type.
          e.g. ['3.5', '3.7']
      """
      if not GPU_TYPE:
          if FLAGS.debug:
              print(
                  "Warning: GPU_TYPE is empty. "
                  "Make sure to call `get_gpu_type()` first."
              )
  
      elif GPU_TYPE == "unknown":
          if FLAGS.debug:
              print(
                  "Warning: Unknown GPU is detected. "
                  "Skipping CUDA compute capability retrieval."
              )
  
      else:
          if source_from_url:
              cuda_compute_capa = (
                  cuda_compute_capability.retrieve_from_web()
              )
          else:
              cuda_compute_capa = (
                  cuda_compute_capability.retrieve_from_golden()
              )
  
          return cuda_compute_capa[GPU_TYPE]
      return
  
imports: import collections
  import json
  import re
  import subprocess
  import sys
  from absl import app
  from absl import flags
  from tensorflow.tools.tensorflow_builder.config_detector.data import cuda_compute_capability
label_desc: Use image node_id 11 for calling a global function with example usage: get_cuda_compute_capability(source_from_url) and returns: cuda_compute_capa