

def test_conv_tanh_basic():
    '\n    Tests that we can load a convolutional tanh model\n    and train it for a few epochs (without saving) on a dummy\n    dataset-- tiny model and dataset\n    '
    yaml_file = os.path.join(pylearn2.__path__[0], 'models/tests/conv_elemwise_tanh.yaml')
    with open(yaml_file) as yamlh:
        yaml_lines = yamlh.readlines()
        yaml_str = ''.join(yaml_lines)
    train = yaml_parse.load(yaml_str)
    train.main_loop()

dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/tests/test_convelemwise_tanh.py test_conv_tanh_basic/original