SetLayout

Product Support

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

x

Atlas inference product's Vector Core

x

Atlas training products

x

Function

Sets the Layout object to the TensorTrait structure.

Prototype

1
__aicore__ inline void SetLayout(const LayoutType& t)

Parameters

Parameter

Input/Output

Description

t

Input

Input Layout object. The input data type LayoutType must meet the requirements described in Restrictions.

Returns

None

Restrictions

None

Example

For details, see Example.