__init__.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:marconibot 作者: s4w3d0ff 项目源码 文件源码
def save(self, location="brain"):
        """ Pickle the brain """
        if self._trained:
            joblib.dump(self.lobe, location + ".pickle")
            logger.info('Brain %s saved', location + '.pickle')
        else:
            return logger.error('Brain is not trained yet! Nothing to save...')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号