SetLayout
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
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.
Parent topic: TensorTrait