code: def pooling_layer(self, idx, inputs, size, stride):
      if self.disp_console:
          print(
              "    Layer  %d : Type = Pool, Size = %d * %d, Stride = %d"
              % (idx, size, size, stride)
          )
  
      return tf.nn.max_pool(
          inputs,
          ksize=[1, size, size, 1],
          strides=[1, stride, stride, 1],
          padding="SAME",
          name=str(idx) + "_pool",
      )
  
file_path: AdvBox/applications/StealthTshirt/StealthTshirtDemo.py
imports: import numpy
  import tensorflow
  import cv2
  import time
  import sys
  import os
  import pdb
label_desc: Use image node_id 5 for calling the Faster_YOLO obj's underlying member method code with example usage: obj.pooling_layer(idx, inputs, size, stride) and returns: tf