SetLayout

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product AI Core

x

Atlas inference product Vector Core

x

Atlas training product

x

Function Usage

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

Examples

See Examples.