code: def test_create_tower_spec(
      self,
      input_tensor_shape,
      spec,
      output_shape,
      lengths=None,
      extra_block=14,  # Fully connected.
      extra_block_shape=None,
      use_auxiliary_head=False,
  ):
      # Force graph mode
      with tf.compat.v1.Graph().as_default():
          spec.use_auxiliary_head = use_auxiliary_head
          spec.auxiliary_head_loss_weight = 0.4
          input_tensors = [
              tf.zeros(
                  extra_block_shape or (1,)
              ),  # Raw features -- discarded.
              tf.zeros(
                  extra_block_shape or input_tensor_shape
              ),  # Extra block.
              tf.zeros(
                  extra_block_shape or input_tensor_shape
              ),  # Extra block.
              tf.zeros(input_tensor_shape),  # Fully connected block.
          ]
          fake_architecture = [extra_block, extra_block, 14]
          logits_spec, _, _ = architecture_utils.create_tower_spec(
              phoenix_spec=spec,
              inputs=input_tensors,
              architecture=fake_architecture,
              dimension=7,
              is_frozen=False,
              lengths=lengths,
              allow_auxiliary_head=use_auxiliary_head,
          )
          self.assertAllEqual(output_shape, logits_spec.logits.shape)
          if use_auxiliary_head:
              self.assertIsNotNone(logits_spec.aux_logits)
              self.assertNear(
                  logits_spec.aux_logits_weight,
                  spec.auxiliary_head_loss_weight,
                  1e-6,
              )
              self.assertNear(logits_spec.logits_weight, 1.0, 1e-6)
  
imports: from absl.testing import parameterized
  from model_search import block_builder
  from model_search import hparam
  from model_search.architecture import architecture_utils
  from model_search.metadata import trial
  from model_search.proto import phoenix_spec_pb2
  from model_search.proto import transfer_learning_spec_pb2
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 13 for calling the ArchitectureUtilsTest obj's underlying member method code with example usage: obj.test_create_tower_spec(input_tensor_shape, spec, output_shape, lengths, extra_block, extra_block_shape, use_auxiliary_head) without return types