code: def shake_shake_layer(x, output_filters, num_blocks, stride, hparams):
      """Builds many sub layers into one full layer."""
      for block_num in range(num_blocks):
          curr_stride = stride if (block_num == 0) else 1
          with tf.variable_scope("layer_{}".format(block_num)):
              x = shake_shake_block(
                  x, output_filters, curr_stride, hparams
              )
      return x
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import hparam
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 4 for calling a global function with example usage: shake_shake_layer(x, output_filters, num_blocks, stride, hparams) and returns: x