

def save_dataset(dataset, fpath):
    import cPickle
    with open(f, 'wb') as f:
        cPickle.dump(dataset, f, cPickle.HIGHEST_PROTOCOL)

dataset/ETHPy150Open Cysu/dlearn/examples/human_sar/prepare_sar.py save_dataset/VarMisuse@18/21 `fpath`->`f`