昇腾社区首页
中文
注册
开发者
下载

简介

获取自定义Pass上下文对象。

需要包含的头文件

1
#include <register/register_custom_pass.h>

Public成员函数

CustomPassContext()
virtual ~CustomPassContext() = default
void SetErrorMessage(const AscendString &error_message)
graphStatus GetOptionValue(const AscendString &option_key, AscendString &option_value) const