产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
x |
获取距原LocalTensor起始地址偏移量为offset的新LocalTensor,注意offset不能超过原有LocalTensor的size大小。
1 | __aicore__ inline LocalTensor operator[](const uint32_t offset) const |
参数名 |
输入/输出 |
描述 |
|---|---|---|
offset |
输入 |
偏移量,单位为元素。 |
返回距原LocalTensor起始地址偏移量为offset的新LocalTensor。
无
参考调用示例。