ge::graphStatus

The graphStatus type is equal to the uint32_t type. Its statuses are described as follows.

Status

Value

Description

ge::GRAPH_SUCCESS

0

The corresponding function is executed successfully.

ge::GRAPH_FAILED

0xFFFFFFFF

The corresponding function fails to be executed.

ge::GRAPH_PARAM_INVALID

50331649

The corresponding function fails to be executed. During the execution, parameter verification also fails.

ge::GRAPH_NOT_CHANGED

1343242304

Error code displayed when the requirements for constant folding are not met.

ge::GRAPH_NODE_WITHOUT_CONST_INPUT

50331648

The input of an operator on the network does not contain const data.

ge::GRAPH_NODE_NEED_REPASS

50331647

The graph node needs to be reprocessed or traversed, which is common in the infershape phase.

ge::GRAPH_INVALID_IR_DEF

50331646

Invalid IR definition.

ge::OP_WITHOUT_IR_DATATYPE_INFER_RULE

50331645

The operator lacks the IR data type inference rule.

ge::GRAPH_PARAM_OUT_OF_RANGE

50331644

The value of the function parameter is out of the valid range.

ge::GRAPH_MEM_OPERATE_FAILED

50331539

Memory operation (such as allocation or deallocation) fails.

ge::GRAPH_NULL_PTR

50331538

An invalid null pointer is detected in the function.

ge::GRAPH_MEMCPY_FAILED

50331537

The memory copy operation fails.

ge::GRAPH_MEMSET_FAILED

50331536

The memory setting fails.

ge::GRAPH_MATH_CAL_FAILED

50331429

Mathematical calculation (such as convolution and matrix multiplication) fails.

ge::GRAPH_ADD_OVERFLOW

50331428

The addition result overflows.

ge::GRAPH_MUL_OVERFLOW

50331427

The multiplication result overflows.

ge::GRAPH_RoundUp_Overflow

50331426

The round-up operation causes overflow.