def set_input_space(self, space):
        for layer in self._layers:
            layer.set_input_space(space)
            space = layer.get_output_space()
.. todo::
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/blocks.py/StackedBlocks.set_input_space