code: def get_tower_variables(tower_name):
      """Returns all the variables belonging to the tower with the given name."""
      prefix = "Phoenix/{}".format(tower_name)
      return [
          var
          for var in tf.compat.v1.trainable_variables()
          if prefix in var.name
      ]
  
imports: import collections
  import os
  import string
  import time
  from absl import flags
  from absl import logging
  from model_search import block
  from model_search import block_builder
  from model_search import hparam
  from model_search import utils
  from model_search.proto import hparam_pb2
  from model_search.proto import phoenix_spec_pb2
  from model_search.proto import transfer_learning_spec_pb2
  import numpy
  import tensorflow.compat.v2
  import tf_slim
  from google.protobuf import text_format
label_desc: Use image node_id 18 for calling a global function with example usage: get_tower_variables(tower_name) and returns: unknown