@classmethod
    def load(cls, filename):
        opener = gzip.open if filename.lower().endswith('.gz') else open
        handle = opener(filename, 'rb')
        model = pickle.load(handle)
        handle.close()
        logging.info('%s: loaded model', filename)
        return model
Load a saved network from disk.
dataset/ETHPy150Open lmjohns3/theanets/theanets/graph.py/Network.load