GetShapeDim 函数功能获取shape第idx维度。 函数原型1int64_t GetShapeDim(const size_t idx) const 参数说明 参数名 输入/输出 描述 idx 输入 维度的索引,索引从0开始。 返回值返回shape第idx位置的值,默认值为0。 异常处理无。 约束说明无。 父主题: Tensor