asc_l13d_repeat_direction
asc_l13d_repeat_direction用于表示3D img2col搬运的repeat迭代方向,作为asc_set_l13d_rpt和asc_set_l13d_rpt_b接口的repeat_direction参数类型。
头文件路径为:"c_api/defs/enum.h"。
枚举类具体定义
C++
enum class asc_l13d_repeat_direction : uint8_t {
M_DIRECTION = 0,
K_DIRECTION = 1
};
枚举值详解
表1 枚举值说明
| 枚举值 | 取值 | repeat迭代方向 | repeat_stride单位 |
|---|---|---|---|
| M_DIRECTION | 0 | 沿height(M)方向迭代。 | 16个元素。 |
| K_DIRECTION | 1 | 沿width(K)方向迭代。 | 32 / sizeof(data_type)个元素。其中,data_type为3D搬运接口源操作数的数据类型。 |