GetShapeInfo
功能说明
获取GlobalTensor的shape信息。注意:Shape信息没有默认值,只有通过SetShapeInfo设置过Shape信息后,才可以调用该接口获取正确的ShapeInfo。
函数原型
1 | __aicore__ inline ShapeInfo GetShapeInfo() const |
参数说明
无。
返回值
GlobalTensor的shape信息,ShapeInfo类型。
支持的型号
约束说明
无。
父主题: GlobalTensor
获取GlobalTensor的shape信息。注意:Shape信息没有默认值,只有通过SetShapeInfo设置过Shape信息后,才可以调用该接口获取正确的ShapeInfo。
1 | __aicore__ inline ShapeInfo GetShapeInfo() const |
无。
GlobalTensor的shape信息,ShapeInfo类型。
无。