SetLayout
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
|
x |
功能说明
设置Layout对象至TensorTrait结构中。
函数原型
1 | __aicore__ inline void SetLayout(const LayoutType& t) |
返回值说明
无
约束说明
无
调用示例
见调用示例。
父主题: TensorTrait
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
|
x |
设置Layout对象至TensorTrait结构中。
1 | __aicore__ inline void SetLayout(const LayoutType& t) |
无
无
见调用示例。