IsIrRepSupport

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

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");