IsIrRepSupport
产品支持情况
产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
头文件/库文件
- 头文件:#include <ge/ge_api.h>
- 库文件:libge_runner.so
功能说明
查询IR(Intermediate Representation)表达能力。
函数原型
1 | bool IsIrRepSupport(const char *rep) |
参数说明
参数名 |
输入/输出 |
说明 |
|---|---|---|
rep |
输入 |
IR表达能力。 |
返回值说明
参数名 |
类型 |
说明 |
|---|---|---|
- |
bool |
true:查询成功。 false:查询失败。 |
约束说明
无
调用示例
1 2 | #include "ge/ge_api_v2.h" bool existingFeature = IsIrRepSupport("_inference_rule"); |
父主题: C接口