I am using Keras+VGG and I intend to replace the pooling layer with your function, but it seems there are no place to put. Can u help me?