GetExpandDimsRule
Description
Obtains the dimension expansion rule of a tensor.
Prototype
graphStatus GetExpandDimsRule(AscendString &expand_dims_rule) const
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
expand_dims_rule |
Reference input |
Obtained dimension expansion rule, which is used as an output parameter. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None.
Restrictions
None.
Parent topic: TensorDesc