VerifyAllAttr
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/operator.h>
- Library file: libgraph.so
Function Usage
Verifies whether the attributes, inputs, and outputs of an operator are valid based on the value of disableCommonVerifier.
Prototype
1 | graphStatus VerifyAllAttr(bool disable_common_verifier = false) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
disable_common_verifier |
Input |
false: indicates that only the validity of attributes is verified. true: indicates that the validity of all inputs and outputs of the operator is verified. Default value: false |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None
Constraints
None
Parent topic: Operator