code: def run_backend_pool(lib, layer, I, E, dtype):
      beI = lib.array(I, dtype=dtype)
      beE = lib.array(E, dtype=dtype)
      beO = lib.zeros(layer.dimO, dtype=dtype)
      beA = lib.zeros(layer.dimO, dtype=np.int8)
      beB = lib.zeros(layer.dimI, dtype=dtype)
  
      for i in range(repeat):
          lib.fprop_pool(layer, beI, beO, beA)
          lib.bprop_pool(layer, beE, beB, beA)
  
      return beO, beB
  
file_path: neon/tests/test_backend_pool_layer.py
imports: import itertools
  import numpy
  import pytest
  from neon import logger
  from utils import allclose_with_out
label_desc: Use image node_id 3 for calling a global function with example usage: run_backend_pool(lib, layer, I, E, dtype) and returns: beO,  beB