def __init__(self, filter_size, compiled=True):
        LayerBase.__init__(self, activation="linear", trainable=False)
        if compiled:
            from ..llatomic.lltensor_op import MaxPoolOp
        else:
            from ..atomic import MaxPoolOp
        self.fdim = filter_size
        self.filter = None
        self.op = MaxPoolOp()