code: def pool(x, filters, stride, scope=None):
      y = max_pool2d(x, 3, stride=stride)
      infilters = (
          int(x.shape[-1]) if tf_later_than("2") else x.shape[-1].value
      )
      if infilters != filters:
          y = conv(y, filters, 1, scope="1x1")
      return y
  
imports: from __future__ import absolute_import
  from __future__ import division
  import tensorflow
  from .layers import avg_pool2d
  from .layers import batch_norm
  from .layers import conv2d
  from .layers import dropout
  from .layers import fc
  from .layers import max_pool2d
  from .layers import sconv2d
  from .layers import convbn
  from .layers import sconvbn
  from .ops import *
  from .utils import pad_info
  from .utils import set_args
  from .utils import var_scope
label_desc: Use image node_id 11 for calling a global function with example usage: pool(x, filters, stride, scope) and returns: y