SetOriginShapeDim
Description
Sets dimension idx of the original shape.
Prototype
graphStatus SetOriginShapeDim(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.
Restrictions
None.
Parent topic: Tensor