asc_get_vf_len

产品支持情况

产品 是否支持
Ascend 950PR/Ascend 950DT

功能说明

获取Tensor位宽VL(Vector Length)的大小。

函数原型

__aicore__ inline constexpr int64_t asc_get_vf_len()

参数说明

返回值说明

位宽VL(Vector Length)的大小。

流水类型

PIPE_S

约束说明

调用示例

int64_t len = asc_get_vf_len();