You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

logger.py 230 B

1234567891011
  1. from saver.base_saver import BaseSaver
  2. class Logger(BaseSaver):
  3. """Logging"""
  4. def __init__(self, save_path):
  5. super(Logger, self).__init__(save_path)
  6. def log(self, string):
  7. raise NotImplementedError

一款轻量级的自然语言处理(NLP)工具包,目标是减少用户项目中的工程型代码,例如数据处理循环、训练循环、多卡运行等