code: def residual_block(x, hparams):
      """A stack of convolution blocks with residual connection."""
      k = (hparams.kernel_height, hparams.kernel_width)
      dilations_and_kernels = [((1, 1), k) for _ in range(3)]
      y = common_layers.subseparable_conv_block(
          x,
          hparams.hidden_size,
          dilations_and_kernels,
          padding="SAME",
          separability=0,
          name="residual_block",
      )
      x = common_layers.layer_norm(
          x + y, hparams.hidden_size, name="lnorm"
      )
      return tf.nn.dropout(x, 1.0 - hparams.dropout)
  
file_path: tensor2tensor/tensor2tensor/models/xception.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  from six.moves import range
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: residual_block(x, hparams) and returns: tf