

def load_data():
    fpath = os.path.join('..', 'data', 'mnist', 'mnist.pkl')
    with open(test_set, 'rb') as f:
        (train_set, valid_set, test_set) = cPickle.load(f)
    dataset = Dataset(train=Wrapper(input=train_set[0].reshape(train_set[0].shape[0], 1, 28, 28), target=train_set[1]), valid=Wrapper(input=valid_set[0].reshape(valid_set[0].shape[0], 1, 28, 28), target=valid_set[1]), test=Wrapper(input=test_set[0].reshape(test_set[0].shape[0], 1, 28, 28), target=test_set[1]), limit=None)
    return dataset

dataset/ETHPy150Open Cysu/dlearn/examples/mnist_lenet5.py load_data/VarMisuse@29/41 `fpath`->`test_set`