GetShape
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
x |
√ |
|
√ |
|
x |
|
√ |
|
√ |
|
x |
Function Usage
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
Examples
For details, see Examples.
Parent topic: TensorDesc