GetShape
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
|
x |
Function
Obtains the shape information of the corresponding dimension.
Prototype
uint64_t GetShape(uint32_t offset)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
offset |
Input |
Index value. |
Returns
Returns the shape information of the corresponding dimension.
Restrictions
None
Example
For details, see Example.
Parent topic: TensorDesc