昇腾社区首页
中文
注册

get_host_pipeline_ops

功能描述

获得mxrec中自定义的tensorflow算子。

函数原型

def get_host_pipeline_ops()

返回值说明

成功:返回mxrec中自定义的tensorflow算子。

失败:返回“RuntimeError: when unable to load the library or get the python wrappers.”

使用示例

from mx_rec.util.initialize import get_host_pipeline_ops
get_host_pipeline_ops()