GetShape

Supported Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference product's AI Core

Atlas inference product's Vector Core

Atlas training products

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

Returns

Returns the shape information of the corresponding dimension.

Restrictions

None

Example

See Call Example.