def MaxPool(x, weights, pool_size=(2, 2), strides=None, padding='VALID', **kw): del weights, kw return math.max_pool(x, pool_size=pool_size, strides=strides, padding=padding)
def f(x): return math.max_pool( x, pool_size=pool_size, strides=strides, padding=padding)
def MaxPool(x, pool_size=(2, 2), strides=None, padding='VALID'): return math.max_pool(x, pool_size=pool_size, strides=strides, padding=padding)