def test_stackedblocks_without_params():

    sb = StackedBlocks([Block(), Block()])

    assert sb._params is None
Test StackedBlocks when not all layers have trainable params
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/tests/test_blocks.py/test_stackedblocks_without_params