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