code: def shake_shake_layer(x, output_filters, num_blocks, stride, hparams):
    
    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
docs: Builds many sub layers into one full layer.