GetShapeInfo
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the shape information of a LocalTensor. Note: The shape information does not have a default value. This API can be called to obtain the correct shape information only after the shape information is set by using SetShapeInfo.
Prototype
1 | __aicore__ inline ShapeInfo GetShapeInfo() const |
Parameters
None
Returns
Shape information of the LocalTensor, which is of the ShapeInfo structure type.
Restrictions
None
Example
For details, see Example.
Parent topic: LocalTensor