SetOriginShapeDimNum

Description

Sets the dimension size of the original shape, that is, the rank size.

Prototype

graphStatus SetOriginShapeDimNum(const size_t dim_num)

Parameters

Parameter

Input/Output

Description

dim_num

Input

Dimension size of the original shape, that is, the rank of the original shape.

Returns

graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.

Exception Handling

None.

Restrictions

None.