code: def xception_entry(inputs, hidden_dim):
      """Xception entry flow."""
      with tf.variable_scope("xception_entry"):
  
          def xnet_resblock(x, filters, res_relu, name):
              """Resblock."""
              with tf.variable_scope(name):
                  y = common_layers.separable_conv_block(
                      x,
                      filters,
                      [((1, 1), (3, 3)), ((1, 1), (3, 3))],
                      first_relu=True,
                      padding="SAME",
                      force2d=True,
                      name="sep_conv_block",
                  )
                  y = common_layers.pool(
                      y, (3, 3), "MAX", "SAME", strides=(2, 2)
                  )
                  return y + common_layers.conv_block(
                      x,
                      filters,
                      [((1, 1), (1, 1))],
                      padding="SAME",
                      strides=(2, 2),
                      first_relu=res_relu,
                      force2d=True,
                      name="res_conv0",
                  )
  
          tf.summary.image("inputs", inputs, max_outputs=2)
          x = common_layers.conv_block(
              inputs,
              32,
              [((1, 1), (3, 3))],
              first_relu=False,
              padding="SAME",
              strides=(2, 2),
              force2d=True,
              name="conv0",
          )
          x = common_layers.conv_block(
              x,
              64,
              [((1, 1), (3, 3))],
              padding="SAME",
              force2d=True,
              name="conv1",
          )
          x = xnet_resblock(x, min(128, hidden_dim), True, "block0")
          x = xnet_resblock(x, min(256, hidden_dim), False, "block1")
          return xnet_resblock(x, hidden_dim, False, "block2")
  
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 3 for calling a global function with example usage: xception_entry(inputs, hidden_dim) and returns: xnet_resblock, unknown