def MaxPool3D(a, k, strides, padding):
    """
    Maximum 3D pooling op.
    """
    patches = _pool_patches(a, k, strides, padding.decode("ascii"))
    return np.amax(patches, axis=tuple(range(-len(k), 0))),
def MaxPool3D ( a , k , strides , padding ) : patches = _pool_patches ( a , k , strides , padding . decode ( "ascii" ) ) return np . amax ( patches , axis = tuple ( range ( - len ( k ) , 0 ) ) ) ,
Maximum 3D pooling op.