SetShapeDim

Function Usage

Sets dimension idx of a shape.

Prototype

1
graphStatus SetShapeDim(const size_t idx, const int64_t dim_value)

Parameters

Parameter

Input/Output

Description

idx

Input

Dimension index, which starts from 0.

dim_value

Input

Value to be set.

Returns

graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.

Exception Handling

None

Constraints

None