IsIrRepSupport
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/ge_api.h>
- Library file: libge_runner.so
Function Usage
Queries the IR expression capability.
Prototype
1 | bool IsIrRepSupport(const char *rep) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
rep |
Input |
IR expression capability. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
bool |
true: The query succeeds. false: The query fails. |
Constraints
None
Examples
1 2 | #include "ge/ge_api_v2.h" bool existingFeature = IsIrRepSupport("_inference_rule"); |
Parent topic: C API