ttp_to_persist 接口功能RC2版本使用,接收train方法作为参数的装饰器,捕获训练状态异常以及上报处理。 接口格式mindio_ttp.ttp_to_persist 接口参数 参数 是否必选 说明 取值要求 func 必选 函数作为参数。 训练框架的train方法。 返回值func 父主题: API接口参考