code: def _stack(x, block_fn, filters, blocks, stride1=2, scope=None):
      x = block_fn(x, filters, stride=stride1, scope="block1")
      for i in range(2, blocks + 1):
          x = block_fn(
              x, filters, conv_shortcut=False, scope="block%d" % i
          )
      return x
  
imports: from __future__ import absolute_import
  from __future__ import division
  import tensorflow
  from .layers import batch_norm
  from .layers import conv2d
  from .layers import fc
  from .layers import max_pool2d
  from .layers import sconv2d
  from .layers import convbn
  from .layers import gconvbn
  from .ops import *
  from .utils import pad_info
  from .utils import set_args
  from .utils import var_scope
label_desc: Use image node_id 14 for calling a global function with example usage: _stack(x, block_fn, filters, blocks, stride1, scope) and returns: x