获取Tensor的补维规则。
1
graphStatus GetExpandDimsRule(AscendString &expand_dims_rule) const
参数名
输入/输出
描述
expand_dims_rule
引用输入
获取到的补维规则,作为出参。
graphStatus类型:获取成功返回GRAPH_SUCCESS,否则,返回GRAPH_FAILED。
无。