GetExpandDimsRule
Function Usage
Obtains the dimension expansion rule of a tensor.
Prototype
1 | 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
Constraints
None
Parent topic: TensorDesc