VerifyAllAttr

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 <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