昇腾社区首页
中文
注册

ttp_to_persist

接口功能

RC2版本使用,接收train方法作为参数的装饰器,捕获训练状态异常以及上报处理。

接口格式

mindio_ttp.ttp_to_persist

接口参数

参数

是否必选

说明

取值要求

func

必选

函数作为参数。

训练框架的train方法。

返回值

func