GetShapeInfo
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the shape information of the GlobalTensor. Note: There is no default value for shapeInfo. This API can be called to obtain the correct shapeInfo only after the shape information is set by calling SetShapeInfo.
Prototype
1 | __aicore__ inline ShapeInfo GetShapeInfo() const |
Parameters
None
Returns
Shape information of the GlobalTensor, which is of the ShapeInfo type.
Restrictions
None
Parent topic: GlobalTensor