CheckNodeSupportOnAicore
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/ge_utils.h>
- Library file: libge_compiler.so
Function Usage
Verifies the input node to check whether it can be executed on the AI Core.
Prototype
1 | static Status CheckNodeSupportOnAicore(const GNode &node, bool &is_supported, AscendString &unsupported_reason) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
node |
Input |
Node to be verified. |
is_supported |
Output |
Whether the node can be executed on the AI Core.
|
unsupported_reason |
Output |
Reason why the node execution is not supported. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
SUCCESS: Verification succeeded. FAILED: Verification failed. |
Constraints
Before calling this API, ensure that the shape of the node has been inferred. This is because the verification process requires the shape information.
Parent topic: GeUtils