

def infer_shape(self, node, input_shapes):
    '\n        .. todo::\n\n            WRITEME\n        '
    (xshp,) = input_shapes
    out_shapes = [xshp]
    while (len(out_shapes) < self.n_levels):
        s = out_shapes[(- 1)]
        out_shapes.append((s[0], (s[1] // 2), (s[2] // 2), s[3]))
    return out_shapes

dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/packaged_dependencies/theano_linear/pyramid.py GaussianPyramid.infer_shape/original