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 |
Input |
Dimension expansion rule to be returned by the function. The value is a string. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None.
Restrictions
None.
Parent topic: Tensor