class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
code: def _global_avg_pool(self, x):
      assert x.get_shape().ndims == 4
      return tf.reduce_mean(x, [1, 2])
  
imports: from collections import namedtuple
  import tensorflow
  import six
  from model import MLPnGPU
  from model import Conv2DnGPU
  from model import LinearnGPU
  from model import LayerNorm
label_desc: Use image node_id 15 for calling the ResNetTF obj's underlying member method code with example usage: obj._global_avg_pool(x) and returns: tf